diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-20 12:45:31 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-20 12:45:31 (GMT) |
commit | 008967cde3f2ea210efd77727d8098c24e5a0127 (patch) | |
tree | a222748651f024d9f179b8745128485d001d1800 /src/3rdparty/phonon/mmf/dummyplayer.h | |
parent | f695026fce1c20fdf4ca101dd7ac8da291ecf381 (diff) | |
download | Qt-008967cde3f2ea210efd77727d8098c24e5a0127.zip Qt-008967cde3f2ea210efd77727d8098c24e5a0127.tar.gz Qt-008967cde3f2ea210efd77727d8098c24e5a0127.tar.bz2 |
Implemented parameter copying between AbstractPlayer instances
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); }; } } |