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

#include <phosphor-services/include/PhosphorServices/MprisHost.h>

Inheritance diagram for PhosphorServices::MprisHost:
[legend]

Signals

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

Public Member Functions

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

Constructor & Destructor Documentation

◆ MprisHost()

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

◆ ~MprisHost()

PhosphorServices::MprisHost::~MprisHost ( )
override

Member Function Documentation

◆ playerAdded

void PhosphorServices::MprisHost::playerAdded ( PhosphorServices::MprisPlayer player)
signal

◆ playerAt()

PhosphorServices::MprisPlayer * PhosphorServices::MprisHost::playerAt ( int  index) const

◆ playerCount()

int PhosphorServices::MprisHost::playerCount ( ) const

◆ playerCountChanged

void PhosphorServices::MprisHost::playerCountChanged ( )
signal

◆ playerRemoved

void PhosphorServices::MprisHost::playerRemoved ( PhosphorServices::MprisPlayer player)
signal

◆ players()

QList< MprisPlayer * > PhosphorServices::MprisHost::players ( ) const

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