#include "Windowing/Content/EditorWindowContentFactory.h" #include "Windowing/Content/EditorUtilityWindowContentController.h" #include "Windowing/Content/EditorWorkspaceWindowContentController.h" #include "Windowing/System/EditorWindowSystem.h" #include namespace XCEngine::UI::Editor::App { namespace { class DefaultEditorWindowContentFactory final : public EditorWindowContentFactory { public: std::unique_ptr CreateWorkspaceContentController( std::string_view windowId, UIEditorWorkspaceController workspaceController, EditorWindowSystem& windowSystem) const override { return CreateEditorWorkspaceWindowContentController( windowId, std::move(workspaceController), windowSystem); } std::unique_ptr CreateUtilityContentController( const EditorUtilityWindowDescriptor& descriptor) const override { return CreateEditorUtilityWindowContentController(descriptor); } }; } // namespace std::unique_ptr CreateDefaultEditorWindowContentFactory() { return std::make_unique(); } } // namespace XCEngine::UI::Editor::App