aboutsummaryrefslogtreecommitdiff
path: root/source/EditorCore.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-30 17:03:20 -0700
committerrtk0c <[email protected]>2022-05-30 17:03:20 -0700
commite66286ebe30afc9acc4531fc2bea29b7fb924f93 (patch)
treefa6b76554c3eb88bc8f088fbab68e20c40118ca7 /source/EditorCore.hpp
parent366ef5a5450c6e0e680c924c3454943a9ae9814d (diff)
Changeset: 56 Buildsystem cleanup: change to layered structure for different targets
Diffstat (limited to 'source/EditorCore.hpp')
-rw-r--r--source/EditorCore.hpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/source/EditorCore.hpp b/source/EditorCore.hpp
deleted file mode 100644
index 726f43e..0000000
--- a/source/EditorCore.hpp
+++ /dev/null
@@ -1,39 +0,0 @@
-#pragma once
-
-#include <memory>
-
-class App;
-class SpriteDefinition;
-
-class IEditorInspector {
-public:
- enum TargetType {
- ITT_GameObject,
- ITT_Ires,
- ITT_Level,
- ITT_None,
- };
-
-public:
- virtual ~IEditorInspector() = default;
- virtual void SelectTarget(TargetType type, void* object) = 0;
-};
-
-class IEditorContentBrowser {
-public:
- virtual ~IEditorContentBrowser() = default;
-};
-
-class IEditor {
-public:
- static std::unique_ptr<IEditor> CreateInstance(App* app);
- virtual ~IEditor() = default;
-
- virtual void OnGameStateChanged(bool running) = 0;
- virtual void Show() = 0;
-
- virtual IEditorInspector& GetInspector() = 0;
- virtual IEditorContentBrowser& GetContentBrowser() = 0;
-
- virtual void OpenSpriteViewer(SpriteDefinition* sprite) = 0;
-};