From 9fcdfe312fd9809a1cd52c08e7d8d7bd991a9fb3 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sat, 7 May 2022 17:27:01 -0700 Subject: Changeset: 25 Reduce dependency between editor headers and main game headers --- source/Ires.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/Ires.hpp') 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 // 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); } -- cgit v1.2.3-70-g09d2