diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-08-17 14:58:44 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-08-17 14:58:44 (GMT) |
commit | a7b1ad0b2ecdedd5f2a9d52fe09c4497078bc669 (patch) | |
tree | a9f0a85ff43d1a73b1016d5a649e062d7cbaa1a0 /src/3rdparty/phonon/mmf/abstractplayer.h | |
parent | d10291404e189e3a57cda7fac6f69aa5f9629cae (diff) | |
download | Qt-a7b1ad0b2ecdedd5f2a9d52fe09c4497078bc669.zip Qt-a7b1ad0b2ecdedd5f2a9d52fe09c4497078bc669.tar.gz Qt-a7b1ad0b2ecdedd5f2a9d52fe09c4497078bc669.tar.bz2 |
Delegate from MediaObject.
Diffstat (limited to 'src/3rdparty/phonon/mmf/abstractplayer.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/abstractplayer.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/abstractplayer.h b/src/3rdparty/phonon/mmf/abstractplayer.h index 6452090..0188068 100644 --- a/src/3rdparty/phonon/mmf/abstractplayer.h +++ b/src/3rdparty/phonon/mmf/abstractplayer.h @@ -27,6 +27,8 @@ namespace Phonon { namespace MMF { + class AudioOutput; + class AbstractPlayer : public QObject { public: @@ -42,9 +44,20 @@ namespace Phonon virtual Phonon::State state() const = 0; virtual QString errorString() const = 0; virtual Phonon::ErrorType errorType() const = 0; + virtual qint64 totalTime() const = 0; virtual Phonon::MediaSource source() const = 0; virtual void setSource(const Phonon::MediaSource &) = 0; virtual void setNextSource(const Phonon::MediaSource &) = 0; + + virtual void setTransitionTime(qint32) = 0; + virtual qint32 transitionTime() const = 0; + virtual qint32 prefinishMark() const = 0; + virtual void setPrefinishMark(qint32) = 0; + + virtual bool setVolume(qreal) = 0; + virtual qreal volume() const = 0; + + virtual void setAudioOutput(AudioOutput *) = 0; }; } } |