blob: 5601e40ee448497e0260c1a965ac2044689f84d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "base.hpp"
#include "cru/platform/resource.hpp"
namespace cru::platform::native::win {
class WinNativeResource : public Object, public virtual INativeResource {
public:
static constexpr std::string_view k_platform_id = "Windows";
protected:
WinNativeResource() = default;
public:
CRU_DELETE_COPY(WinNativeResource)
CRU_DELETE_MOVE(WinNativeResource)
~WinNativeResource() override = default;
public:
std::string_view GetPlatformId() const final { return k_platform_id; }
};
} // namespace cru::platform::native::win
|