videoplayerapp/videoplayerengine/inc/mpxvideoplaybackwrapper.h
changeset 44 518105d52e45
parent 42 17f382c040b1
child 49 824471cb468a
equal deleted inserted replaced
42:17f382c040b1 44:518105d52e45
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation of QMpxVideoPlaybackWrapper
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 5 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MPXVIDEOPLAYBACKWRAPPER_H_
       
    23 #define MPXVIDEOPLAYBACKWRAPPER_H_
       
    24 
       
    25 #include <QObject>
       
    26 #include <QString>
       
    27 #include <QFile>
       
    28 #include <f32file.h>
       
    29 #include "mpxhbvideocommondefs.h"
       
    30 
       
    31 class CMpxVideoPlayerAppUiEngine;
       
    32 
       
    33 class QMpxVideoPlaybackWrapper : public QObject
       
    34 {
       
    35     Q_OBJECT
       
    36 
       
    37     public:
       
    38         QMpxVideoPlaybackWrapper();
       
    39         virtual ~QMpxVideoPlaybackWrapper();
       
    40 
       
    41         int playMedia( QString aFileName );
       
    42         int playMedia( RFile aFile ); 
       
    43         void openPlaybackView() ;
       
    44         void lateInit();        
       
    45 
       
    46     private:
       
    47         void initializePlugins();
       
    48         int openFileWithNativePath(const TDesC& aFileName);
       
    49  
       
    50     signals:
       
    51         void handlePlaybackView( int viewId );
       
    52 
       
    53     private:   //data  
       
    54         CMpxVideoPlayerAppUiEngine      *mUiEngine;
       
    55 };
       
    56 
       
    57 #endif /* MPXVIDEOPLAYBACKWRAPPER_H_ */