Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

ffmpegengine.h Example File
ffmpeg/ffmpegengine.h

    /****************************************************************************
    **
    ** This file is part of the Qt Extended Opensource Package.
    **
    ** Copyright (C) 2009 Trolltech ASA.
    **
    ** $QT_EXTENDED_DUAL_LICENSE$
    **
    ****************************************************************************/

    #ifndef __QTOPIA_FFMPEG_ENGINE_H
    #define __QTOPIA_FFMPEG_ENGINE_H

    #include <qmediaengine.h>
    #include "ffmpegplaybinsession.h"

    class QMediaEngineInformation;
    class QMediaSessionRequest;
    class QMediaServerSession;

    namespace ffmpeg
    {

    class EnginePrivate;

    class Engine : public QMediaEngine
    {
        Q_OBJECT

    public:
        Engine();
        ~Engine();

        void initialize();

        void start();
        void stop();

        void suspend();
        void resume();

        QMediaEngineInformation const* engineInformation();

        void registerSession(QMediaServerSession* session);
        void unregisterSession(QMediaServerSession* session);

    private:
        PlaybinSession*   s;
        EnginePrivate*    d;
    };

    }   // ns ffmpeg

    #endif  // __QTOPIA_FFMPEG_ENGINE_H


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3