Music Hub ..
A session-wide music playback service
Loading...
Searching...
No Matches
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 )

◆ ~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

◆ CreateSession

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

Definition at line 222 of file service_skeleton.cpp.

References lomiri::MediaHubService::Player::Client::key, MH_DEBUG, lomiri::MediaHubService::Player::Client::name, and ServiceSkeleton().

Here is the call graph for this function:

◆ DestroySession

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

Definition at line 343 of file service_skeleton.cpp.

References mpris::Service::Errors::DestroyingSession::name(), and ServiceSkeleton().

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(), lomiri::MediaHubService::Player::resumable, and ServiceSkeleton().

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, mpris::Service::Errors::PlayerKeyNotFound::name(), and ServiceSkeleton().

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(), and ServiceSkeleton().

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(), and ServiceSkeleton().

Here is the call graph for this function:

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