blob: f3bcfd0147eba0a3ae1d6689e19d8362d1f8746c (
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 String kPlatformId;
protected:
XcbResource() = default;
public:
String GetPlatformId() const final { return kPlatformId; }
};
class XcbException : public PlatformException {
public:
using PlatformException::PlatformException;
};
} // namespace cru::platform::gui::xcb
|