aboutsummaryrefslogtreecommitdiff
path: root/source/Ires.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-07 17:27:01 -0700
committerrtk0c <[email protected]>2022-05-07 17:27:01 -0700
commit9fcdfe312fd9809a1cd52c08e7d8d7bd991a9fb3 (patch)
treec9820ea29a0d38c2adb7464386233415bfcccc10 /source/Ires.hpp
parentf348347f205f51800d0628021f193e63f5833f8d (diff)
Changeset: 25 Reduce dependency between editor headers and main game headers
Diffstat (limited to 'source/Ires.hpp')
-rw-r--r--source/Ires.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/Ires.hpp b/source/Ires.hpp
index a4867da..83ca175 100644
--- a/source/Ires.hpp
+++ b/source/Ires.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "EditorAttachment.hpp"
+#include "EditorCore.hpp"
#include "RcPtr.hpp"
#include "Uid.hpp"
#include "Utils.hpp"
@@ -12,7 +13,6 @@
#include <string_view>
// Forward declarations
-class EditorInstance;
class IresManager;
class IresWritingContext;
class IresLoadingContext;
@@ -56,11 +56,11 @@ public:
static void ShowNameNull();
void ShowName() const;
- static void ShowReferenceSafe(EditorInstance& editor, IresObject* ires);
- static void ShowReferenceNull(EditorInstance& editor);
- void ShowReference(EditorInstance& editor);
+ static void ShowReferenceSafe(IEditor& editor, IresObject* ires);
+ static void ShowReferenceNull(IEditor& editor);
+ void ShowReference(IEditor& editor);
- virtual void ShowEditor(EditorInstance& editor);
+ virtual void ShowEditor(IEditor& editor);
EditorAttachment* GetEditorAttachment() const { return mEditorAttachment.get(); }
void SetEditorAttachment(EditorAttachment* attachment) { mEditorAttachment.reset(attachment); }