aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/native_resource.hpp
blob: ec7f01b63c1ea99662ff19939162be7912ba5a23 (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 "cru/common/base.hpp"

#include <string_view>

namespace cru::platform {
class NativeResource : public Object {
 protected:
  NativeResource() = default;

 public:
  NativeResource(const NativeResource& other) = delete;
  NativeResource& operator=(const NativeResource& other) = delete;
                

  NativeResource(NativeResource&& other) = delete;
  NativeResource& operator=(NativeResource&& other) = delete;
  ~NativeResource() override = default;

 public:
  virtual std::wstring_view GetPlatformId() const = 0;
};
}  // namespace cru::platform