Changeset 769 for trunk/src/3rdparty/phonon/mmf/abstractmediaplayer.h
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/3rdparty/phonon/mmf/abstractmediaplayer.h
r561 r769 61 61 // AbstractPlayer 62 62 virtual void doSetTickInterval(qint32 interval); 63 virtual Phonon::State phononState(PrivateState state) const; 64 virtual void changeState(PrivateState newState); 63 65 64 66 virtual void doPlay() = 0; … … 71 73 virtual int bufferStatus() const = 0; 72 74 virtual void close() = 0; 73 virtual void changeState(PrivateState newState);74 75 75 76 void updateMetaData(); … … 81 82 void bufferingComplete(); 82 83 void maxVolumeChanged(int maxVolume); 84 void loadingComplete(int error); 83 85 void playbackComplete(int error); 84 86 … … 92 94 void stopTimers(); 93 95 void doVolumeChanged(); 94 void emitMarksIfReached( );96 void emitMarksIfReached(qint64 position); 95 97 void resetMarksIfRewound(); 98 void startPlayback(); 99 100 enum Pending { 101 NothingPending, 102 PausePending, 103 PlayPending 104 }; 105 106 void setPending(Pending pending); 96 107 97 108 private Q_SLOTS: … … 102 113 MediaObject *const m_parent; 103 114 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; 110 116 111 117 QScopedPointer<QTimer> m_positionTimer;
Note:
See TracChangeset
for help on using the changeset viewer.