aboutsummaryrefslogtreecommitdiff
path: root/demos/input_method/main.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-08-12 21:44:32 +0800
committercrupest <crupest@outlook.com>2021-08-12 21:44:32 +0800
commit2e379441f69c4fd3049d186f76b25457e6250282 (patch)
tree893771e5103ca9f3a34bb622251aaacb024cf1c2 /demos/input_method/main.cpp
parentd718b0f576aeae1fa853124caefc8b0078f1deed (diff)
downloadcru-2e379441f69c4fd3049d186f76b25457e6250282.tar.gz
cru-2e379441f69c4fd3049d186f76b25457e6250282.tar.bz2
cru-2e379441f69c4fd3049d186f76b25457e6250282.zip
...
Diffstat (limited to 'demos/input_method/main.cpp')
-rw-r--r--demos/input_method/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp
index 5a6dc942..b509cd97 100644
--- a/demos/input_method/main.cpp
+++ b/demos/input_method/main.cpp
@@ -1,3 +1,4 @@
+#include "cru/platform/bootstrap/Bootstrap.hpp"
#include "cru/platform/graphics/Factory.hpp"
#include "cru/platform/graphics/Font.hpp"
#include "cru/platform/graphics/Painter.hpp"
@@ -10,7 +11,7 @@ int main() {
using namespace cru::platform::graphics;
using namespace cru::platform::gui;
- auto application = CreateUiApplication();
+ IUiApplication* application = boostrap::CreateUiApplication();
auto graph_factory = application->GetGraphFactory();