aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/bootstrap')
-rw-r--r--include/cru/platform/bootstrap/Bootstrap.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/cru/platform/bootstrap/Bootstrap.hpp b/include/cru/platform/bootstrap/Bootstrap.hpp
new file mode 100644
index 00000000..730df28c
--- /dev/null
+++ b/include/cru/platform/bootstrap/Bootstrap.hpp
@@ -0,0 +1,17 @@
+#pragma once
+#include "cru/platform/gui/UiApplication.hpp"
+
+#ifdef CRU_PLATFORM_WINDOWS
+#ifdef CRU_PLATFORM_BOOTSTRAP_EXPORT_API
+#define CRU_PLATFORM_BOOTSTRAP_API __declspec(dllexport)
+#else
+#define CRU_PLATFORM_BOOTSTRAP_API __declspec(dllimport)
+#endif
+#else
+#define CRU_PLATFORM_BOOTSTRAP_API
+#endif
+
+namespace cru::platform::boostrap {
+CRU_PLATFORM_BOOTSTRAP_API cru::platform::gui::IUiApplication*
+CreateUiApplication();
+}