mirror of https://github.com/zeldaret/botw.git
ksys: Add KingEditor (stub)
This commit is contained in:
parent
0cb4d828fc
commit
7d8183f0b2
|
@ -1,6 +1,7 @@
|
||||||
target_sources(uking PRIVATE
|
target_sources(uking PRIVATE
|
||||||
Account.cpp
|
Account.cpp
|
||||||
Account.h
|
Account.h
|
||||||
|
KingEditor.h
|
||||||
OverlayArena.cpp
|
OverlayArena.cpp
|
||||||
OverlayArena.h
|
OverlayArena.h
|
||||||
OverlayArenaSystem.cpp
|
OverlayArenaSystem.cpp
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue