18 #ifndef CORE_UBUNTU_MEDIA_ENGINE_H_
19 #define CORE_UBUNTU_MEDIA_ENGINE_H_
24 #include <core/property.h>
49 static const std::string&
album();
51 static const std::string&
artist();
52 static const std::string&
as_text();
55 static const std::string&
comment();
56 static const std::string&
composer();
60 static const std::string&
genre();
62 static const std::string&
lyricist();
63 static const std::string&
title();
65 static const std::string&
url();
98 virtual const core::Property<State>&
state()
const = 0;
103 virtual bool play() = 0;
104 virtual bool stop() = 0;
105 virtual bool pause() = 0;
106 virtual bool seek_to(
const std::chrono::microseconds& ts) = 0;
111 virtual const core::Property<uint64_t>&
position()
const = 0;
112 virtual const core::Property<uint64_t>&
duration()
const = 0;
114 virtual const core::Property<Volume>&
volume()
const = 0;
115 virtual core::Property<Volume>&
volume() = 0;
117 virtual const core::Property<std::tuple<Track::UriType, Track::MetaData>>&
track_meta_data()
const = 0;
129 #endif // CORE_UBUNTU_MEDIA_ENGINE_H_