aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/resource.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-12-12 19:53:17 +0800
committercrupest <crupest@outlook.com>2019-12-12 19:53:17 +0800
commite69911a8b161b81ce3f7b209175766da2b7b3d4b (patch)
tree76b1f4b6f9f5ad6111578771be783ee456aeb912 /include/cru/platform/resource.hpp
parent154b5b838edfdcef93cd0a33c013ad7f5f9d7337 (diff)
downloadcru-e69911a8b161b81ce3f7b209175766da2b7b3d4b.tar.gz
cru-e69911a8b161b81ce3f7b209175766da2b7b3d4b.tar.bz2
cru-e69911a8b161b81ce3f7b209175766da2b7b3d4b.zip
...
Diffstat (limited to 'include/cru/platform/resource.hpp')
-rw-r--r--include/cru/platform/resource.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/cru/platform/resource.hpp b/include/cru/platform/resource.hpp
new file mode 100644
index 00000000..6b315527
--- /dev/null
+++ b/include/cru/platform/resource.hpp
@@ -0,0 +1,10 @@
+#pragma once
+#include "cru/common/base.hpp"
+
+#include <string_view>
+
+namespace cru::platform {
+struct INativeResource : virtual Interface {
+ virtual std::string_view GetPlatformId() const = 0;
+};
+} // namespace cru::platform