blob: 787c46a59da3f5e0c4bebfe2a97a704df73e1b76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "cru/common/base.hpp"
#include <string_view>
namespace cru::platform {
class NativeResource : public Object {
protected:
NativeResource() = default;
public:
NativeResource(NativeResource&& other) = delete;
NativeResource& operator=(NativeResource&& other) = delete;
NativeResource(NativeResource&& other) = delete;
NativeResource& operator=(NativeResource&& other) = delete;
~NativeResource() override = default;
public:
virtual std::wstring_view GetPlatformId() const = 0;
};
} // namespace cru::platform
|