Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorServiceMpris::MprisHost Class Reference

#include <PhosphorServiceMpris/MprisHost.h>

Inheritance diagram for PhosphorServiceMpris::MprisHost:
[legend]

Signals

void playerAdded (PhosphorServiceMpris::MprisPlayer *player)
void playerRemoved (PhosphorServiceMpris::MprisPlayer *player)
void playerCountChanged ()

Public Member Functions

 MprisHost (QObject *parent=nullptr)
 ~MprisHost () override
int playerCount () const
QList< MprisPlayer * > players () const
PhosphorServiceMpris::MprisPlayer * playerAt (int index) const

Constructor & Destructor Documentation

◆ MprisHost()

PhosphorServiceMpris::MprisHost::MprisHost ( QObject * parent = nullptr)
explicit

◆ ~MprisHost()

PhosphorServiceMpris::MprisHost::~MprisHost ( )
override

Member Function Documentation

◆ playerAdded

void PhosphorServiceMpris::MprisHost::playerAdded ( PhosphorServiceMpris::MprisPlayer * player)
signal

◆ playerAt()

PhosphorServiceMpris::MprisPlayer * PhosphorServiceMpris::MprisHost::playerAt ( int index) const
nodiscard

◆ playerCount()

int PhosphorServiceMpris::MprisHost::playerCount ( ) const
nodiscard

◆ playerCountChanged

void PhosphorServiceMpris::MprisHost::playerCountChanged ( )
signal

◆ playerRemoved

void PhosphorServiceMpris::MprisHost::playerRemoved ( PhosphorServiceMpris::MprisPlayer * player)
signal

◆ players()

QList< MprisPlayer * > PhosphorServiceMpris::MprisHost::players ( ) const
nodiscard

The documentation for this class was generated from the following file:
  • phosphor-service-mpris/include/PhosphorServiceMpris/MprisHost.h