3
* This program is free software: you can redistribute it and/or modify it
4
* under the terms of the GNU Lesser General Public License version 3,
5
* as published by the Free Software Foundation.
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU Lesser General Public License for more details.
12
* You should have received a copy of the GNU Lesser General Public License
13
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
* Authored by: Thomas Voß <thomas.voss@canonical.com>
18
#ifndef COM_UBUNTU_MUSIC_PLAYER_IMPLEMENTATION_H_
19
#define COM_UBUNTU_MUSIC_PLAYER_IMPLEMENTATION_H_
21
#include "player_skeleton.h"
34
class PlayerImplementation : public PlayerSkeleton
38
const org::freedesktop::dbus::types::ObjectPath& session_path,
39
const std::shared_ptr<Service>& service,
40
const std::shared_ptr<Engine>& engine);
41
~PlayerImplementation();
43
virtual std::shared_ptr<TrackList> track_list();
45
virtual bool open_uri(const Track::UriType& uri);
47
virtual void previous();
51
virtual void seek_to(const std::chrono::microseconds& offset);
55
std::unique_ptr<Private> d;
60
#endif // COM_UBUNTU_MUSIC_PLAYER_IMPLEMENTATION_H_