Music Hub  ..
A session-wide music playback service
lomiri::MediaHubService::ServiceImplementation Class Reference

#include <service_implementation.h>

+ Inheritance diagram for lomiri::MediaHubService::ServiceImplementation:
+ Collaboration diagram for lomiri::MediaHubService::ServiceImplementation:

Signals

void currentPlayerChanged ()
 

Public Member Functions

 ServiceImplementation (QObject *parent=nullptr)
 
 ~ServiceImplementation ()
 
Player::PlayerKey currentPlayer () const
 
PlayerImplementationcreate_session (const Player::Client &client)
 
PlayerImplementationplayerByKey (Player::PlayerKey key) const
 
void pause_other_sessions (Player::PlayerKey key)
 

Detailed Description

Definition at line 37 of file service_implementation.h.

Constructor & Destructor Documentation

◆ ServiceImplementation()

ServiceImplementation::ServiceImplementation ( QObject parent = nullptr)

Definition at line 308 of file service_implementation.cpp.

◆ ~ServiceImplementation()

ServiceImplementation::~ServiceImplementation ( )

Definition at line 314 of file service_implementation.cpp.

Member Function Documentation

◆ create_session()

◆ currentPlayer()

Player::PlayerKey ServiceImplementation::currentPlayer ( ) const

◆ currentPlayerChanged

void lomiri::MediaHubService::ServiceImplementation::currentPlayerChanged ( )
signal

◆ pause_other_sessions()

void lomiri::MediaHubService::ServiceImplementation::pause_other_sessions ( Player::PlayerKey  key)

Definition at line 364 of file service_implementation.cpp.

References MH_TRACE.

◆ playerByKey()


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