diff options
Diffstat (limited to 'src/3rdparty/phonon/mmf/dummyplayer.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/dummyplayer.h | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/src/3rdparty/phonon/mmf/dummyplayer.h b/src/3rdparty/phonon/mmf/dummyplayer.h index e5c1365..6a2ad73 100644 --- a/src/3rdparty/phonon/mmf/dummyplayer.h +++ b/src/3rdparty/phonon/mmf/dummyplayer.h @@ -40,13 +40,14 @@ namespace Phonon class DummyPlayer : public AbstractPlayer { public: + DummyPlayer(); + DummyPlayer(const AbstractPlayer& player); + // MediaObjectInterface virtual void play(); virtual void pause(); virtual void stop(); virtual void seek(qint64 milliseconds); - virtual qint32 tickInterval() const; - virtual void setTickInterval(qint32 interval); virtual bool hasVideo() const; virtual bool isSeekable() const; virtual qint64 currentTime() const; @@ -55,24 +56,14 @@ namespace Phonon virtual Phonon::ErrorType errorType() const; virtual qint64 totalTime() const; virtual MediaSource source() const; - // virtual void setSource(const MediaSource &); + // virtual void setSource(const MediaSource &); virtual void setFileSource(const Phonon::MediaSource&, RFile&); virtual void setNextSource(const MediaSource &source); - virtual qint32 prefinishMark() const; - virtual void setPrefinishMark(qint32); - virtual qint32 transitionTime() const; - virtual void setTransitionTime(qint32); - // VolumeControlInterface - virtual qreal volume() const; - virtual bool setVolume(qreal volume); + // AbstractPlayer + virtual void doSetTickInterval(qint32 interval); + virtual bool doSetVolume(qreal volume); - Q_SIGNALS: - void totalTimeChanged(); - void stateChanged(Phonon::State oldState, - Phonon::State newState); - void finished(); - void tick(qint64 time); }; } } |