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.CreatingFixedSession"
65 static const std::string&
name()
67 static const std::string s
69 "core.ubuntu.media.Service.Error.ResumingSession"
76 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(CreateSession,
Service, 1000)
77 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(CreateFixedSession,
Service, 1000)
78 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(ResumeSession, Service, 1000)
79 DBUS_CPP_METHOD_WITH_TIMEOUT_DEF(PauseOtherSessions, Service, 1000)
83 #endif // MPRIS_SERVICE_H_
static const std::string & name()
static const std::string & name()
static const std::string & name()
static const std::string & name()