From fedd13511bbf91914a0250b43c440f43e6d1e8c5 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 23 Dec 2008 21:13:34 +0000 Subject: full mpris support; new options: "repeat track", "show protocol" git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@698 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/mediaplayer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/qmmpui/mediaplayer.h') diff --git a/src/qmmpui/mediaplayer.h b/src/qmmpui/mediaplayer.h index fefc42978..920ef6908 100644 --- a/src/qmmpui/mediaplayer.h +++ b/src/qmmpui/mediaplayer.h @@ -40,17 +40,23 @@ public: void initialize(SoundCore *core, PlayListModel *model); PlayListModel *playListModel(); + bool isRepeatable() const; public slots: void play(); void stop(); void next(); void previous(); + void setRepeatable(bool); + +signals: + void repeatableChanged(bool); private: PlayListModel *m_model; SoundCore *m_core; static MediaPlayer* m_instance; + bool m_repeat; }; -- cgit v1.2.3-13-gbd6f