videoplayerapp/videoplayerengine/tsrc/testvideoservices/stub/inc/videoplayerengine.h
changeset 30 4f111d64a341
child 17 69946d1824c4
equal deleted inserted replaced
2:dec420019252 30:4f111d64a341
       
     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 QVideoPlayerEngine
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 1 %
       
    19 
       
    20 #ifndef VIDEOPLAYERENGINE_H
       
    21 #define VIDEOPLAYERENGINE_H
       
    22 
       
    23 #include <qobject.h>
       
    24 
       
    25 //FORWARD CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  *  QVideoPlayerEngine
       
    29  *
       
    30  */
       
    31 class QVideoPlayerEngine: public QObject
       
    32 {
       
    33     Q_OBJECT
       
    34 
       
    35     public:
       
    36         /**
       
    37          * Constructor
       
    38          */
       
    39         QVideoPlayerEngine(bool isService = false);
       
    40 
       
    41         /**
       
    42         * Destructor.
       
    43         */
       
    44         virtual ~QVideoPlayerEngine();
       
    45 
       
    46     public:
       
    47         void initialize();
       
    48         void playMedia( QString filePath );
       
    49         void setEmbedded();
       
    50 
       
    51     public slots:
       
    52         void handleCommand( int commandCode );
       
    53 
       
    54     private slots:
       
    55         void handleQuit();
       
    56 
       
    57     private:
       
    58         bool                      mIsService;
       
    59         bool                      mEmbedded;
       
    60 };
       
    61 
       
    62 #endif // VIDEOPLAYERENGINE_H
       
    63 
       
    64 // EOF