src/3rdparty/phonon/mmf/dummyplayer.h
changeset 18 2f34d5167611
parent 3 41300fa6a67c
child 33 3e2da88830cd
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
    40  *      AbstractPlayer implementation once a source has been loaded.
    40  *      AbstractPlayer implementation once a source has been loaded.
    41  */
    41  */
    42 class DummyPlayer : public AbstractPlayer
    42 class DummyPlayer : public AbstractPlayer
    43 {
    43 {
    44 public:
    44 public:
    45     DummyPlayer();
    45     DummyPlayer(const AbstractPlayer *player = 0);
    46     DummyPlayer(const AbstractPlayer& player);
       
    47 
    46 
    48     // MediaObjectInterface
    47     // MediaObjectInterface
    49     virtual void play();
    48     virtual void play();
    50     virtual void pause();
    49     virtual void pause();
    51     virtual void stop();
    50     virtual void stop();
    54     virtual bool isSeekable() const;
    53     virtual bool isSeekable() const;
    55     virtual qint64 currentTime() const;
    54     virtual qint64 currentTime() const;
    56     virtual Phonon::State state() const;
    55     virtual Phonon::State state() const;
    57     virtual Phonon::ErrorType errorType() const;
    56     virtual Phonon::ErrorType errorType() const;
    58     virtual qint64 totalTime() const;
    57     virtual qint64 totalTime() const;
    59     virtual MediaSource source() const;
       
    60     // virtual void setSource(const MediaSource &);
       
    61     virtual void setFileSource(const Phonon::MediaSource&, RFile&);
       
    62     virtual void setNextSource(const MediaSource &source);
       
    63 
    58 
    64     // AbstractPlayer
    59     // AbstractPlayer
       
    60     virtual void open(const Phonon::MediaSource&, RFile&);
    65     virtual void doSetTickInterval(qint32 interval);
    61     virtual void doSetTickInterval(qint32 interval);
    66 };
    62 };
    67 }
    63 }
    68 }
    64 }
    69 
    65