summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/abstractmediaplayer.h
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-11-04 10:38:41 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-11-04 10:48:49 (GMT)
commitf4f6012d181cf60fd04fc5bf69b21786977f0de0 (patch)
tree601cd20b8b070d79ebf61540d4c58af13a1f4937 /src/3rdparty/phonon/mmf/abstractmediaplayer.h
parentd319fccebfd5f2e7175945275ffc3e73240d766c (diff)
downloadQt-f4f6012d181cf60fd04fc5bf69b21786977f0de0.zip
Qt-f4f6012d181cf60fd04fc5bf69b21786977f0de0.tar.gz
Qt-f4f6012d181cf60fd04fc5bf69b21786977f0de0.tar.bz2
Implemented metadata handling in Phonon MMF backend
Task-number: QTBUG-4662 Reviewed-by: Frans Englich
Diffstat (limited to 'src/3rdparty/phonon/mmf/abstractmediaplayer.h')
-rw-r--r--src/3rdparty/phonon/mmf/abstractmediaplayer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/abstractmediaplayer.h b/src/3rdparty/phonon/mmf/abstractmediaplayer.h
index 1ea236b..cff7bab 100644
--- a/src/3rdparty/phonon/mmf/abstractmediaplayer.h
+++ b/src/3rdparty/phonon/mmf/abstractmediaplayer.h
@@ -73,6 +73,10 @@ protected:
virtual void close() = 0;
virtual void changeState(PrivateState newState);
+ void updateMetaData();
+ virtual int numberOfMetaDataEntries() const = 0;
+ virtual QPair<QString, QString> metaDataEntry(int index) const = 0;
+
protected:
bool tickTimerRunning() const;
void startTickTimer();
@@ -105,6 +109,8 @@ private:
MediaSource m_source;
MediaSource m_nextSource;
+ QMultiMap<QString, QString> m_metaData;
+
};
}
}