20 #ifndef MPRIS_PLAYER_H_
21 #define MPRIS_PLAYER_H_
28 #include <core/dbus/types/any.h>
29 #include <core/dbus/types/object_path.h>
30 #include <core/dbus/types/variant.h>
32 #include <boost/utility/identity_type.hpp>
44 static const std::string&
name()
46 static const std::string s{
"core.ubuntu.media.Service.Player"};
53 METHOD(PlayPause, Player,
std::chrono::seconds(1))
54 METHOD(Stop, Player,
std::chrono::seconds(1))
55 METHOD(Play, Player,
std::chrono::seconds(1))
56 METHOD(Seek, Player,
std::chrono::seconds(1))
57 METHOD(SetPosition, Player,
std::chrono::seconds(1))
58 METHOD(CreateVideoSink, Player,
std::chrono::seconds(1))
59 METHOD(Key, Player,
std::chrono::seconds(1))
60 METHOD(OpenUri, Player,
std::chrono::seconds(1))
64 SIGNAL(Seeked, Player, uint64_t)
65 SIGNAL(EndOfStream, Player,
void)
95 #endif // MPRIS_PLAYER_H_
static const std::string & name()
#define WRITABLE_PROPERTY(Name, Itf, Type)
#define READABLE_PROPERTY(Name, Itf, Type)
#define METHOD_WITH_TIMEOUT_MS(Name, Itf, Timeout)
#define METHOD(Name, Itf, Timeout)
#define SIGNAL(Name, Itf, ArgType)