blob: 0de0e1a85d1d28a843b9ef5c54f5b5e380002652 (
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::u16string_view k_platform_id = u"Windows";
 protected:
  WinNativeResource() = default;
 public:
  CRU_DELETE_COPY(WinNativeResource)
  CRU_DELETE_MOVE(WinNativeResource)
  ~WinNativeResource() override = default;
 public:
  std::u16string_view GetPlatformId() const final { return k_platform_id; }
};
}  // namespace cru::platform::native::win
 |