diff --git a/src/KingSystem/System/CMakeLists.txt b/src/KingSystem/System/CMakeLists.txt index aecca4c0..5a161a2a 100644 --- a/src/KingSystem/System/CMakeLists.txt +++ b/src/KingSystem/System/CMakeLists.txt @@ -1,6 +1,7 @@ target_sources(uking PRIVATE Account.cpp Account.h + KingEditor.h OverlayArena.cpp OverlayArena.h OverlayArenaSystem.cpp diff --git a/src/KingSystem/System/KingEditor.h b/src/KingSystem/System/KingEditor.h new file mode 100644 index 00000000..45404ca9 --- /dev/null +++ b/src/KingSystem/System/KingEditor.h @@ -0,0 +1,21 @@ +#pragma once + +#include + +namespace ksys { + +class KingEditorComponent { +public: + virtual const char* getName() const = 0; + virtual void syncData() = 0; +}; + +// FIXME +class KingEditor { + SEAD_SINGLETON_DISPOSER(KingEditor) + +public: + void registerComponent(KingEditorComponent* component); +}; + +} // namespace ksys