videoplayerapp/videoplayerengine/tsrc/testvideoappuiengine/stub/inc/mpxvideoplaybackwrapper.h
changeset 36 8aed59de29f9
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
       
     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:  Stub implementation of QMpxVideoPlaybackWrapper
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 1 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MPXVIDEOPLAYBACKWRAPPER_H_
       
    23 #define MPXVIDEOPLAYBACKWRAPPER_H_
       
    24 
       
    25 #include <qobject>
       
    26 #include <qstring>
       
    27 #include <qfile>
       
    28 
       
    29 #include <mpxhbvideocommondefs.h>
       
    30 
       
    31 class QMpxVideoPlaybackWrapper : public QObject
       
    32 {
       
    33     Q_OBJECT
       
    34 
       
    35     public:
       
    36         QMpxVideoPlaybackWrapper();
       
    37         virtual ~QMpxVideoPlaybackWrapper();
       
    38         int playMedia( QString aFileName );
       
    39 
       
    40     public:
       
    41         void openPlaybackView() ;
       
    42         static int GetInstanceCount();
       
    43         void lateInit();
       
    44 
       
    45     signals:
       
    46         void handlePlaybackView( int viewId );
       
    47 
       
    48     private:
       
    49         static void Increment();
       
    50         static void Decrement();
       
    51 };
       
    52 
       
    53 #endif /* STUBMPXVIDEOPLAYBACKWRAPPER_H_ */