aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/mediaplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/mediaplayer.h')
-rw-r--r--src/qmmpui/mediaplayer.h6
1 files changed, 6 insertions, 0 deletions
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;
};