blob: 2c76fe6bcb43f872336e57580f6b6ae591cf6bd6 (
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 "../win_pre_config.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
 
  |