![]() |
Heaven v0.1.0-1
C++ global-menu library for Wayland sessions
|
Mixin interface for objects that can be nested inside a parent. More...
#include "HNWithParent.h"


Public Member Functions | |
| HNObject * | parent () const noexcept |
| Returns the current parent of this object. | |
| virtual | ~HNWithParent () noexcept=default |
| Virtual destructor. | |
Mixin interface for objects that can be nested inside a parent.
Objects inheriting this interface can be attached to an object implementing the HNWithChildren interface. The parent-child relationship is maintained by the bar library from the events sent by the client.
|
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 parent of this object.