Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

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

    r769 r846  
    2424#include <QScopedPointer>
    2525#include <QTimer>
     26#include <QString>
    2627
    2728// For recognizer
     
    3334
    3435QT_BEGIN_NAMESPACE
     36
     37class QResource;
    3538
    3639namespace Phonon
     
    8891    void setVideoOutput(AbstractVideoOutput* videoOutput);
    8992
     93    int openFileHandle(const QString &fileName);
     94    RFile* file() const;
     95    QResource* resource() const;
     96    int currentIAP() const;
     97
    9098public Q_SLOTS:
    9199    void volumeChanged(qreal volume);
     
    108116    void tick(qint64 time);
    109117
     118protected:
     119    bool eventFilter(QObject *watched, QEvent *event);
     120
    110121private Q_SLOTS:
    111122    void handlePrefinishMarkReached(qint32);
     
    115126    void createPlayer(const MediaSource &source);
    116127    bool openRecognizer();
     128    void setIAPIdFromNameL(const QString& iapString);
    117129
    118130    // Audio / video media type recognition
    119131    MediaType fileMediaType(const QString& fileName);
     132    MediaType bufferMediaType(const uchar *data, qint64 size);
    120133    // TODO: urlMediaType function
    121134
     
    133146    bool                                m_nextSourceSet;
    134147
    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;
    138150
    139151    QScopedPointer<AbstractPlayer>      m_player;
     152    int                                 m_iap;
    140153
    141154};
Note: See TracChangeset for help on using the changeset viewer.