aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/native/resource.hpp
blob: 7afaca0f70e3ebd0b6b9d21d3ce5b003016e8e92 (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