22 lines
527 B
C++
22 lines
527 B
C++
#include "Bootstrap/Application.h"
|
|
|
|
#include "Ports/SystemInteractionPort.h"
|
|
#include "Composition/EditorContext.h"
|
|
#include "Platform/Win32/EditorWindowManager.h"
|
|
|
|
#include <utility>
|
|
|
|
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
|