Class that represents an interface for Wayland callbacks. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland/abstract_default_wayland_context.hpp>
Public Member Functions | |
AbstractDefaultWaylandContext ()=default | |
Constructor. More... | |
AbstractDefaultWaylandContext (const AbstractDefaultWaylandContext &)=delete | |
Copy constructor. More... | |
AbstractDefaultWaylandContext (AbstractDefaultWaylandContext &&) noexcept=delete | |
Move constructor. More... | |
virtual void | eventNotification (const WaylandEvent &event)=0 |
Called by the Wayland listener when it receives an event. More... | |
virtual void | modeChangeNotification (int width, int height, int refresh)=0 |
Called by the Wayland listener when monitor mode changes. More... | |
AbstractDefaultWaylandContext & | operator= (const AbstractDefaultWaylandContext &)=delete |
Copy assignment operator. More... | |
AbstractDefaultWaylandContext & | operator= (AbstractDefaultWaylandContext &&) noexcept=delete |
Move assignment operator. More... | |
virtual void | registryAddedNotification (uint32_t name, const char *interfaceName, uint32_t version)=0 |
Called by the Wayland listener when a registry is added. More... | |
virtual void | resizeNotification (int width, int height)=0 |
Called by the Wayland listener when the size of a window changes. More... | |
virtual void | seatCapabilitiesNotification (uint32_t capabilities)=0 |
Called by the Wayland listener when seat capabilities change. More... | |
virtual | ~AbstractDefaultWaylandContext ()=default |
Destructor. More... | |
Class that represents an interface for Wayland callbacks.
|
explicitdefault |
Constructor.
|
virtualdefault |
Destructor.
|
delete |
Copy constructor.
|
deletenoexcept |
Move constructor.
|
delete |
Copy assignment operator.
|
deletenoexcept |
Move assignment operator.
|
pure virtual |
Called by the Wayland listener when the size of a window changes.
width | New window width. |
height | New window height. |
Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.
|
pure virtual |
Called by the Wayland listener when monitor mode changes.
width | New monitor width. |
height | New monitor height. |
refresh | Refresh rate. |
Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.
|
pure virtual |
Called by the Wayland listener when it receives an event.
event | Received event. |
Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.
|
pure virtual |
Called by the Wayland listener when seat capabilities change.
capabilities | Capabilities mask. |
Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.
|
pure virtual |
Called by the Wayland listener when a registry is added.
name | Unique registry ID. |
interfaceName | Interface name. |
version | Supported interface version. |
Implemented in kanzi::wayland::DefaultWaylandEGLGraphicsOutput, and kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput.