diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-25 14:19:11 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-25 14:19:11 (GMT) |
commit | f3defb60f21cfe2456ace1148afcce43112f9c51 (patch) | |
tree | 1f7420f2b83eff53615f4b427f4f19a0b6f34b7b /src/3rdparty/phonon/mmf/abstractmediaplayer.h | |
parent | 9bcdcc33e1abd202a5b0ec156ff22624bd21740c (diff) | |
download | Qt-f3defb60f21cfe2456ace1148afcce43112f9c51.zip Qt-f3defb60f21cfe2456ace1148afcce43112f9c51.tar.gz Qt-f3defb60f21cfe2456ace1148afcce43112f9c51.tar.bz2 |
Added some missing signals in MediaObject; fixed seek slider in musicplayer.exe
Diffstat (limited to 'src/3rdparty/phonon/mmf/abstractmediaplayer.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/abstractmediaplayer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/mmf/abstractmediaplayer.h b/src/3rdparty/phonon/mmf/abstractmediaplayer.h index 58aca84..7f53a2d 100644 --- a/src/3rdparty/phonon/mmf/abstractmediaplayer.h +++ b/src/3rdparty/phonon/mmf/abstractmediaplayer.h @@ -50,6 +50,7 @@ namespace Phonon virtual void play(); virtual void pause(); virtual void stop(); + virtual void seek(qint64 milliseconds); virtual bool isSeekable() const; virtual Phonon::ErrorType errorType() const; virtual QString errorString() const; @@ -69,12 +70,14 @@ namespace Phonon virtual void doPlay() = 0; virtual void doPause() = 0; virtual void doStop() = 0; + virtual void doSeek(qint64 pos) = 0; virtual int setDeviceVolume(int mmfVolume) = 0; virtual int openFile(RFile& file) = 0; virtual void close() = 0; protected: - void startTickTimer(); + bool tickTimerRunning() const; + void startTickTimer(); void stopTickTimer(); void maxVolumeChanged(int maxVolume); |