Changeset 846 for trunk/src/3rdparty/phonon/mmf/mediaobject.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/3rdparty/phonon/mmf/mediaobject.h
r769 r846 24 24 #include <QScopedPointer> 25 25 #include <QTimer> 26 #include <QString> 26 27 27 28 // For recognizer … … 33 34 34 35 QT_BEGIN_NAMESPACE 36 37 class QResource; 35 38 36 39 namespace Phonon … … 88 91 void setVideoOutput(AbstractVideoOutput* videoOutput); 89 92 93 int openFileHandle(const QString &fileName); 94 RFile* file() const; 95 QResource* resource() const; 96 int currentIAP() const; 97 90 98 public Q_SLOTS: 91 99 void volumeChanged(qreal volume); … … 108 116 void tick(qint64 time); 109 117 118 protected: 119 bool eventFilter(QObject *watched, QEvent *event); 120 110 121 private Q_SLOTS: 111 122 void handlePrefinishMarkReached(qint32); … … 115 126 void createPlayer(const MediaSource &source); 116 127 bool openRecognizer(); 128 void setIAPIdFromNameL(const QString& iapString); 117 129 118 130 // Audio / video media type recognition 119 131 MediaType fileMediaType(const QString& fileName); 132 MediaType bufferMediaType(const uchar *data, qint64 size); 120 133 // TODO: urlMediaType function 121 134 … … 133 146 bool m_nextSourceSet; 134 147 135 // Storing the file handle here to work around KErrInUse error 136 // from MMF player utility OpenFileL functions 137 RFile m_file; 148 RFile* m_file; 149 QResource* m_resource; 138 150 139 151 QScopedPointer<AbstractPlayer> m_player; 152 int m_iap; 140 153 141 154 };
Note:
See TracChangeset
for help on using the changeset viewer.