aboutsummaryrefslogtreecommitdiff
path: root/demos/input_method
diff options
context:
space:
mode:
Diffstat (limited to 'demos/input_method')
-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();