![]() |
Heaven v0.1.0-1
C++ global-menu library for Wayland sessions
|
Represents, on the bar side, a client connected over D-Bus. More...
#include "HNClient.h"


Public Member Functions | |
| const std::string & | id () const noexcept |
| Returns the D-Bus unique name of the client. | |
| const std::string & | name () const noexcept |
| Returns the application name reported by the client. | |
| HNTopbar * | activeTopbar () const noexcept |
| Returns the topbar the client currently wants displayed. | |
| ~HNClient () noexcept | |
| Destructor. | |
Represents, on the bar side, a client connected over D-Bus.
A client owns a set of HNObject instances (its menu tree) and reports which of its topbars is currently active. Instances are created and destroyed by the bar library as clients register and disconnect.
|
inlinenoexcept |
Returns the topbar the client currently wants displayed.
|
inlinenoexcept |
Returns the D-Bus unique name of the client.
|
inlinenoexcept |
Returns the application name reported by the client.