aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/mpris/mpris2/player2object.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-01 14:32:36 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-01 14:32:36 +0000
commitbcf5e290508d81d21e6e6f5ce79483390ac926d0 (patch)
tree52ed2f058bd46734d5f1b6d52ded700b1b208356 /src/plugins/General/mpris/mpris2/player2object.h
parenta36e04a07b70b793dd755eb9c68441b0b31c9098 (diff)
downloadqmmp-bcf5e290508d81d21e6e6f5ce79483390ac926d0.tar.gz
qmmp-bcf5e290508d81d21e6e6f5ce79483390ac926d0.tar.bz2
qmmp-bcf5e290508d81d21e6e6f5ce79483390ac926d0.zip
fixed several mpris2 bugs (Fixes issue 570)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3112 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/mpris/mpris2/player2object.h')
-rw-r--r--src/plugins/General/mpris/mpris2/player2object.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/General/mpris/mpris2/player2object.h b/src/plugins/General/mpris/mpris2/player2object.h
index d79f822b7..37d332cf2 100644
--- a/src/plugins/General/mpris/mpris2/player2object.h
+++ b/src/plugins/General/mpris/mpris2/player2object.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010 by Ilya Kotov *
+ * Copyright (C) 2010-2013 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -31,6 +31,7 @@ class SoundCore;
class MediaPlayer;
class PlayListManager;
class PlayListItem;
+class PlayListModel;
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
@@ -98,6 +99,7 @@ private slots:
void checkSeeking(qint64 elapsed);
void playItem(PlayListItem *item);
void disconnectPl();
+ void setModel(PlayListModel *selected, PlayListModel *previous);
private:
@@ -106,7 +108,7 @@ private:
MediaPlayer *m_player;
PlayListManager *m_pl_manager;
QMap<QString, QVariant> m_props;
- QString m_trackID;
+ QDBusObjectPath m_trackID;
PlayListItem *m_prev_item;
qint64 m_previous_pos;