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 = tuple< decltype(ListenerPack::s_nativeListener)... > |
Helper alias that represents a tuple of associated native listeners. More... | |
Public Member Functions | |
void | attachListeners (void *waylandContext) const noexcept |
Attaches all associated listeners to the shell. More... | |
KZ_NO_DISCARD const Listeners & | getListeners () const noexcept |
Gets listeners. More... | |
KZ_NO_DISCARD const Shell & | getShell () const noexcept |
Gets shell. More... | |
ShellWrapper & | operator= (const ShellWrapper &)=delete |
Copy assignment operator. More... | |
ShellWrapper & | operator= (ShellWrapper &&) noexcept=delete |
Move assignment operator. More... | |
template<typename... Args> | |
ShellWrapper (Args &&...args) | |
Constructor. More... | |
ShellWrapper (const ShellWrapper &)=delete | |
Copy constructor. More... | |
ShellWrapper (ShellWrapper &&) noexcept=delete | |
Move constructor. More... | |
~ShellWrapper ()=default | |
Destructor. More... | |
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 = tuple<decltype(ListenerPack::s_nativeListener)...> |
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. |