Heaven v0.1.0-1
C++ global-menu library for Wayland sessions
Loading...
Searching...
No Matches
Public Member Functions
HNCompositor Class Reference

Represents, on the bar side, the connected Wayland compositor. More...

#include "HNCompositor.h"

Inheritance diagram for HNCompositor:
Inheritance graph
[legend]
Collaboration diagram for HNCompositor:
Collaboration graph
[legend]

Public Member Functions

const std::string & id () const noexcept
 Returns the D-Bus unique name of the compositor.
 
 ~HNCompositor () noexcept=default
 Destructor.
 

Detailed Description

Represents, on the bar side, the connected Wayland compositor.

The bar keeps a single HNCompositor instance while the compositor is present on the bus. It is created and destroyed automatically as the compositor appears and disappears (see HNBar::onCompositorChanged).

Member Function Documentation

◆ id()

const std::string & id ( ) const
inlinenoexcept

Returns the D-Bus unique name of the compositor.

Returns
Const reference to the compositor's D-Bus id.

The documentation for this class was generated from the following file: