19#ifndef MPRIS_SERVICE_H_
20#define MPRIS_SERVICE_H_
22#include <core/dbus/macros.h>
31 static const std::string&
name()
33 static const std::string s{
"core.ubuntu.media.Service"};
41 static const std::string&
name()
43 static const std::string s
45 "core.ubuntu.media.Service.Error.CreatingSession"
53 static const std::string&
name()
55 static const std::string s
57 "core.ubuntu.media.Service.Error.DetachingSession"
65 static const std::string&
name()
67 static const std::string s
69 "core.ubuntu.media.Service.Error.ReattachingSession"
77 static const std::string&
name()
79 static const std::string s
81 "core.ubuntu.media.Service.Error.DestroyingSession"
89 static const std::string&
name()
91 static const std::string s
93 "core.ubuntu.media.Service.Error.CreatingFixedSession"
101 static const std::string&
name()
103 static const std::string s
105 "core.ubuntu.media.Service.Error.ResumingSession"
113 static const std::string&
name()
115 static const std::string s
117 "core.ubuntu.media.Service.Error.PlayerKeyNotFound"
124 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(CreateSession,
Service, 1000)
125 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(DetachSession,
Service, 1000)
126 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(ReattachSession,
Service, 1000)
127 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(DestroySession,
Service, 1000)
128 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(CreateFixedSession,
Service, 1000)
129 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(ResumeSession,
Service, 1000)
130 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(PauseOtherSessions,
Service, 1000)
static const std::string & name()
static const std::string & name()
static const std::string & name()
static const std::string & name()
static const std::string & name()
static const std::string & name()
static const std::string & name()
static const std::string & name()