diff options
| author | crupest <crupest@outlook.com> | 2019-12-12 19:53:17 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2019-12-12 19:53:17 +0800 |
| commit | e69911a8b161b81ce3f7b209175766da2b7b3d4b (patch) | |
| tree | 76b1f4b6f9f5ad6111578771be783ee456aeb912 /include/cru/win/native/platform_id.hpp | |
| parent | 154b5b838edfdcef93cd0a33c013ad7f5f9d7337 (diff) | |
| download | cru-e69911a8b161b81ce3f7b209175766da2b7b3d4b.tar.gz cru-e69911a8b161b81ce3f7b209175766da2b7b3d4b.tar.bz2 cru-e69911a8b161b81ce3f7b209175766da2b7b3d4b.zip | |
...
Diffstat (limited to 'include/cru/win/native/platform_id.hpp')
| -rw-r--r-- | include/cru/win/native/platform_id.hpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/cru/win/native/platform_id.hpp b/include/cru/win/native/platform_id.hpp deleted file mode 100644 index e1899ad4..00000000 --- a/include/cru/win/native/platform_id.hpp +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once -#include <cru/platform/native_resource.hpp> - -#include <stdexcept> -#include <string_view> - -namespace cru::platform::native::win { -constexpr std::wstring_view win_platform_id = L"Windows"; - -inline bool IsWindowsResource(NativeResource* resource) { - return resource->GetPlatformId() == win_platform_id; -} - -} // namespace cru::platform::native::win - -#define CRU_PLATFORMID_IMPLEMENT_WIN \ - std::wstring_view GetPlatformId() const override { \ - return ::cru::platform::native::win::win_platform_id; \ - } |
