Helper class that contains a Shell with associated listeners. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland/default_wayland_listeners.hpp>
Public Types | |
using | Listeners |
Helper alias that represents a tuple of associated native listeners. | |
Public Member Functions | |
void | attachListeners (void *waylandContext) const noexcept |
Attaches all associated listeners to the shell. | |
KZ_NO_DISCARD const Listeners & | getListeners () const noexcept |
Gets listeners. | |
const Shell & | getShell () const noexcept |
Gets shell. | |
ShellWrapper & | operator= (const ShellWrapper &)=delete |
Copy assignment operator. | |
ShellWrapper & | operator= (ShellWrapper &&) noexcept=delete |
Move assignment operator. | |
template<typename... Args> | |
ShellWrapper (Args &&... args) | |
Constructor. | |
ShellWrapper (const ShellWrapper &)=delete | |
Copy constructor. | |
ShellWrapper (ShellWrapper &&) noexcept=delete | |
Move constructor. | |
~ShellWrapper ()=default | |
Destructor. | |
Helper class that contains a Shell with associated listeners.
Shell | One of the shell classes. |
ListenerPack | Associated shell listeners. |
using kanzi::wayland::ShellWrapper< Shell, ListenerPack >::Listeners |
Helper alias that represents a tuple of associated native listeners.
|
inlineexplicit |
Constructor.
Args | Argument types that are forwared to shell constructor. |
args | Arguments that are forwared to shell constructor. |
|
default |
Destructor.
|
delete |
Copy constructor.
|
deletenoexcept |
Move constructor.
|
delete |
Copy assignment operator.
|
deletenoexcept |
Move assignment operator.
|
inlinenoexcept |
Gets shell.
|
inlinenoexcept |
Gets listeners.
|
inlinenoexcept |
Attaches all associated listeners to the shell.
waylandContext | AbstractDefaultWaylandContext pointer. |