Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/3rdparty/phonon/mmf/abstractmediaplayer.h

    r561 r769  
    6161    // AbstractPlayer
    6262    virtual void doSetTickInterval(qint32 interval);
     63    virtual Phonon::State phononState(PrivateState state) const;
     64    virtual void changeState(PrivateState newState);
    6365
    6466    virtual void doPlay() = 0;
     
    7173    virtual int bufferStatus() const = 0;
    7274    virtual void close() = 0;
    73     virtual void changeState(PrivateState newState);
    7475
    7576    void updateMetaData();
     
    8182    void bufferingComplete();
    8283    void maxVolumeChanged(int maxVolume);
     84    void loadingComplete(int error);
    8385    void playbackComplete(int error);
    8486
     
    9294    void stopTimers();
    9395    void doVolumeChanged();
    94     void emitMarksIfReached();
     96    void emitMarksIfReached(qint64 position);
    9597    void resetMarksIfRewound();
     98    void startPlayback();
     99
     100    enum Pending {
     101        NothingPending,
     102        PausePending,
     103        PlayPending
     104    };
     105
     106    void setPending(Pending pending);
    96107
    97108private Q_SLOTS:
     
    102113    MediaObject *const          m_parent;
    103114
    104     /**
    105      * This flag is set to true if play is called when the object is
    106      * in a Loading state.  Once loading is complete, playback will
    107      * be started.
    108      */
    109     bool                        m_playPending;
     115    Pending                     m_pending;
    110116
    111117    QScopedPointer<QTimer>      m_positionTimer;
Note: See TracChangeset for help on using the changeset viewer.