Music Hub  ..
A session-wide music playback service
mpris::Player::PlaybackStatus Struct Reference

#include <mpris.h>

+ Collaboration diagram for mpris::Player::PlaybackStatus:

Public Member Functions

 PlaybackStatus ()=delete
 

Static Public Member Functions

static const char * from (lomiri::MediaHubService::Player::PlaybackStatus status)
 

Static Public Attributes

static constexpr const char * playing {"Playing"}
 
static constexpr const char * paused {"Paused"}
 
static constexpr const char * stopped {"Stopped"}
 

Detailed Description

Definition at line 159 of file mpris.h.

Constructor & Destructor Documentation

◆ PlaybackStatus()

mpris::Player::PlaybackStatus::PlaybackStatus ( )
delete

Member Function Documentation

◆ from()

static const char* mpris::Player::PlaybackStatus::from ( lomiri::MediaHubService::Player::PlaybackStatus  status)
inlinestatic

Definition at line 163 of file mpris.h.

References paused, playing, and stopped.

Member Data Documentation

◆ paused

constexpr const char* mpris::Player::PlaybackStatus::paused {"Paused"}
staticconstexpr

Definition at line 182 of file mpris.h.

Referenced by from(), and mpris::PlayerAdaptor::playbackStatus().

◆ playing

constexpr const char* mpris::Player::PlaybackStatus::playing {"Playing"}
staticconstexpr

Definition at line 181 of file mpris.h.

Referenced by from(), and mpris::PlayerAdaptor::playbackStatus().

◆ stopped

constexpr const char* mpris::Player::PlaybackStatus::stopped {"Stopped"}
staticconstexpr

Definition at line 183 of file mpris.h.

Referenced by from(), and mpris::PlayerAdaptor::playbackStatus().


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