blob: 71007f879b94e8216967042b95771071739a110f (
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/base/Exception.h>
#include <cru/platform/Resource.h>
#include <cru/platform/gui/Base.h>
namespace cru::platform::gui::xcb {
class XcbResource : public Object, public virtual IPlatformResource {
 public:
  static constexpr const char* kPlatformId = "XCB";
 protected:
  XcbResource() = default;
 public:
  std::string GetPlatformId() const final { return std::string(kPlatformId); }
};
class XcbException : public PlatformException {
 public:
  using PlatformException::PlatformException;
};
}  // namespace cru::platform::gui::xcb
 |