blob: ad571a40f31f422e0db4744bca4b9e01b3ea1a5d (
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 "../../Resource.h"
namespace cru::platform::gui::xcb {
class XcbResource : public Object, public virtual IPlatformResource {
public:
static constexpr const char16_t* kPlatformId = u"XCB";
protected:
XcbResource() = default;
public:
String GetPlatformId() const final { return String(kPlatformId); }
};
class XcbException : public PlatformException {
public:
using PlatformException::PlatformException;
};
} // namespace cru::platform::gui::xcb
|