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

#include <service_skeleton.h>

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

Classes

struct  Configuration
 

Public Slots

void CreateSession (QDBusObjectPath &op, QString &uuid)
 
void DetachSession (const QString &uuid)
 
void ReattachSession (const QString &uuid)
 
void DestroySession (const QString &uuid)
 
QDBusObjectPath CreateFixedSession (const QString &name)
 
QDBusObjectPath ResumeSession (Player::PlayerKey key)
 
void PauseOtherSessions (Player::PlayerKey key)
 

Public Member Functions

 ServiceSkeleton (const Configuration &configuration, ServiceImplementation *impl, QObject *parent=nullptr)
 
 ~ServiceSkeleton ()
 

Detailed Description

Definition at line 41 of file service_skeleton.h.

Constructor & Destructor Documentation

◆ ServiceSkeleton()

ServiceSkeleton::ServiceSkeleton ( const Configuration configuration,
ServiceImplementation impl,
QObject parent = nullptr 
)

Definition at line 210 of file service_skeleton.cpp.

◆ ~ServiceSkeleton()

lomiri::MediaHubService::ServiceSkeleton::~ServiceSkeleton ( )

Definition at line 218 of file service_skeleton.cpp.

Member Function Documentation

◆ CreateFixedSession

QDBusObjectPath ServiceSkeleton::CreateFixedSession ( const QString &  name)
slot

Definition at line 399 of file service_skeleton.cpp.

References lomiri::MediaHubService::Player::Client::key, and mpris::Service::Errors::CreatingFixedSession::name().

+ Here is the call graph for this function:

◆ CreateSession

void ServiceSkeleton::CreateSession ( QDBusObjectPath &  op,
QString &  uuid 
)
slot

◆ DestroySession

void ServiceSkeleton::DestroySession ( const QString &  uuid)
slot

Definition at line 343 of file service_skeleton.cpp.

References mpris::Service::Errors::DestroyingSession::name().

+ Here is the call graph for this function:

◆ DetachSession

void ServiceSkeleton::DetachSession ( const QString &  uuid)
slot

Definition at line 260 of file service_skeleton.cpp.

References mpris::Service::Errors::DetachingSession::name().

+ Here is the call graph for this function:

◆ PauseOtherSessions

void ServiceSkeleton::PauseOtherSessions ( Player::PlayerKey  key)
slot

Definition at line 456 of file service_skeleton.cpp.

References MH_WARNING, and mpris::Service::Errors::PlayerKeyNotFound::name().

+ Here is the call graph for this function:

◆ ReattachSession

void ServiceSkeleton::ReattachSession ( const QString &  uuid)
slot

Definition at line 287 of file service_skeleton.cpp.

References mpris::Service::Errors::ReattachingSession::name().

+ Here is the call graph for this function:

◆ ResumeSession

QDBusObjectPath ServiceSkeleton::ResumeSession ( Player::PlayerKey  key)
slot

Definition at line 440 of file service_skeleton.cpp.

References mpris::Service::Errors::ResumingSession::name().

+ Here is the call graph for this function:

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