2026-04-15 08:24:06 +08:00
|
|
|
#include "Bootstrap/Application.h"
|
|
|
|
|
|
2026-04-19 15:52:28 +08:00
|
|
|
#include "Ports/SystemInteractionPort.h"
|
|
|
|
|
#include "Composition/EditorContext.h"
|
2026-04-15 08:24:06 +08:00
|
|
|
#include "Platform/Win32/EditorWindowManager.h"
|
|
|
|
|
|
2026-04-15 22:47:42 +08:00
|
|
|
#include <utility>
|
|
|
|
|
|
2026-04-15 08:24:06 +08:00
|
|
|
namespace XCEngine::UI::Editor {
|
|
|
|
|
|
|
|
|
|
Application::Application()
|
|
|
|
|
: m_editorContext(std::make_unique<App::EditorContext>()) {}
|
|
|
|
|
|
|
|
|
|
Application::~Application() = default;
|
|
|
|
|
|
|
|
|
|
int RunXCUIEditorApp(HINSTANCE hInstance, int nCmdShow) {
|
|
|
|
|
Application application;
|
|
|
|
|
return application.Run(hInstance, nCmdShow);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace XCEngine::UI::Editor
|