blob: 124499a7cf7df56a87669f461582c6657d332197 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include <cru/platform/Base.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
|