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 Commercial Package.
    **
    ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    **
    ** $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 Nokia Trademarks
Qt Extended 4.4.3