diff options
author | crupest <crupest@outlook.com> | 2022-01-29 21:07:48 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-29 21:07:48 +0800 |
commit | 30060773b06d93ae08a8c6fa5836c81e595594ed (patch) | |
tree | f333e807eef86442eff0b489bb2460bfbf99e794 /src/theme_builder/main.cpp | |
parent | 90261a333f251cc241f186f0ee6ed8e12787cc02 (diff) | |
download | cru-30060773b06d93ae08a8c6fa5836c81e595594ed.tar.gz cru-30060773b06d93ae08a8c6fa5836c81e595594ed.tar.bz2 cru-30060773b06d93ae08a8c6fa5836c81e595594ed.zip |
...
Diffstat (limited to 'src/theme_builder/main.cpp')
-rw-r--r-- | src/theme_builder/main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/theme_builder/main.cpp b/src/theme_builder/main.cpp index 4ba2a28a..8c79f2c0 100644 --- a/src/theme_builder/main.cpp +++ b/src/theme_builder/main.cpp @@ -1,9 +1,15 @@ +#include "components/MainWindow.hpp" #include "cru/platform/bootstrap/Bootstrap.hpp" -#include "cru/platform/gui/UiApplication.hpp" int main() { + using namespace cru::theme_builder; + std::unique_ptr<cru::platform::gui::IUiApplication> application( cru::platform::bootstrap::CreateUiApplication()); + auto main_window = std::make_unique<MainWindow>(); + + main_window->Show(); + return application->Run(); } |