#pragma once #include "BsEditorPrerequisites.h" #include "CmModule.h" #include namespace BansheeEditor { class EditorWindowManager : public CM::Module { public: EditorWindowManager(); ~EditorWindowManager(); MainEditorWindow* createMain(const CM::RenderWindowPtr& parentRenderWindow); EditorWindow* create(); void destroy(EditorWindowBase* window); void update(); protected: MainEditorWindow* mMainWindow; CM::Vector::type mEditorWindows; CM::Vector::type mScheduledForDestruction; }; }