![]() |
Heaven v0.1.0-1
C++ global-menu library for Wayland sessions
|
Mixin interface for objects that can host child objects. More...
#include "HNWithChildren.h"

Public Member Functions | |
| const std::list< HNObject * > & | children () const noexcept |
| Returns the ordered list of child objects. | |
| virtual | ~HNWithChildren () noexcept=default |
| Virtual destructor. | |
Mixin interface for objects that can host child objects.
Objects inheriting this interface (such as HNTopbar and HNMenu) keep an ordered list of children. The order reflects the order in which items should be displayed in the bar.
|
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 ordered list of child objects.