26 Q_DECLARE_PRIVATE(QWaylandClientExtension)
27 Q_PROPERTY(
int protocolVersion READ version NOTIFY versionChanged)
28 Q_PROPERTY(
bool active READ isActive NOTIFY activeChanged)
30 QWaylandClientExtension(
const int version);
31 ~QWaylandClientExtension();
33 QtWaylandClient::QWaylandIntegration *integration()
const;
35 bool isActive()
const;
37 virtual const struct wl_interface *extensionInterface()
const = 0;
38 virtual void bind(
struct ::wl_registry *registry,
int id,
int version) = 0;
40 void setVersion(
const int version);
42 void versionChanged();
A class for implementing custom extensions on the Wayland protocol.
A class for implementing custom extensions on the Wayland protocol.