From 74bb9cd27242b9320f99ff4d2b50c3051576cc14 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 8 Feb 2022 16:53:51 +0800 Subject: ... --- include/cru/platform/bootstrap/Bootstrap.h | 17 +++++++++++++++++ include/cru/platform/bootstrap/Bootstrap.hpp | 17 ----------------- 2 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 include/cru/platform/bootstrap/Bootstrap.h delete mode 100644 include/cru/platform/bootstrap/Bootstrap.hpp (limited to 'include/cru/platform/bootstrap') diff --git a/include/cru/platform/bootstrap/Bootstrap.h b/include/cru/platform/bootstrap/Bootstrap.h new file mode 100644 index 00000000..3ab89a91 --- /dev/null +++ b/include/cru/platform/bootstrap/Bootstrap.h @@ -0,0 +1,17 @@ +#pragma once +#include "cru/platform/gui/UiApplication.h" + +#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::bootstrap { +CRU_PLATFORM_BOOTSTRAP_API cru::platform::gui::IUiApplication* +CreateUiApplication(); +} diff --git a/include/cru/platform/bootstrap/Bootstrap.hpp b/include/cru/platform/bootstrap/Bootstrap.hpp deleted file mode 100644 index 33fb5122..00000000 --- a/include/cru/platform/bootstrap/Bootstrap.hpp +++ /dev/null @@ -1,17 +0,0 @@ -#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::bootstrap { -CRU_PLATFORM_BOOTSTRAP_API cru::platform::gui::IUiApplication* -CreateUiApplication(); -} -- cgit v1.2.3