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"
112 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(CreateSession,
Service, 1000)
113 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(DetachSession,
Service, 1000)
114 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(ReattachSession, Service, 1000)
115 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(DestroySession, Service, 1000)
116 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(CreateFixedSession, Service, 1000)
117 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(ResumeSession, Service, 1000)
118 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(PauseOtherSessions, Service, 1000)
122 #endif // MPRIS_SERVICE_H_
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()