diff options
Diffstat (limited to 'source/Ires.hpp')
-rw-r--r-- | source/Ires.hpp | 10 |
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); } |