![]() |
Heaven v0.1.0-1
C++ global-menu library for Wayland sessions
|
Mixin interface for objects that expose a keyboard shortcut. More...
#include "HNWithShortcut.h"

Public Member Functions | |
| const std::string & | shortcut () const noexcept |
| Returns the current keyboard shortcut of the object. | |
| virtual | ~HNWithShortcut () noexcept=default |
| Virtual destructor. | |
Mixin interface for objects that expose a keyboard shortcut.
|
virtualdefaultnoexcept |
Virtual destructor.
Declared virtual so this mixin is polymorphic, enabling safe cross-casts (via dynamic_cast) between the different base subobjects of a concrete object.
|
inlinenoexcept |
Returns the current keyboard shortcut of the object.