blob: 1f6f0a4ad3bc9bef6c7d6b8301b28904e6571242 (
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::gui::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::gui::win
 |