ksys: Add KingEditor (stub)

This commit is contained in:
Léo Lam 2020-11-04 00:40:08 +01:00
parent 0cb4d828fc
commit 7d8183f0b2
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
2 changed files with 22 additions and 0 deletions

View File

@ -1,6 +1,7 @@
target_sources(uking PRIVATE
Account.cpp
Account.h
KingEditor.h
OverlayArena.cpp
OverlayArena.h
OverlayArenaSystem.cpp

View File

@ -0,0 +1,21 @@
#pragma once
#include <heap/seadDisposer.h>
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