videoplayerapp/videoplayerengine/tsrc/testvideoservices/stub/src/videoplayerengine.cpp
changeset 15 cf5481c2bc0b
child 17 69946d1824c4
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     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 VideoPlayerEngine
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 1 %
       
    19 
       
    20 
       
    21 #include <qapplication>
       
    22 
       
    23 #include <hbinstance.h>
       
    24 #include <xqpluginloader.h>
       
    25 #include <xqplugininfo.h>
       
    26 #include <xqserviceutil.h>
       
    27 
       
    28 #include "videoplayerengine.h"
       
    29 #include "mpxvideoplaybackwrapper.h"
       
    30 
       
    31 // -------------------------------------------------------------------------------------------------
       
    32 // QVideoPlayerEngine()
       
    33 // -------------------------------------------------------------------------------------------------
       
    34 //
       
    35 QVideoPlayerEngine::QVideoPlayerEngine(bool isService)
       
    36     : mIsService( isService )
       
    37     , mEmbedded(false)
       
    38 {
       
    39 }
       
    40 
       
    41 // -------------------------------------------------------------------------------------------------
       
    42 // ~QVideoPlayerEngine()
       
    43 // -------------------------------------------------------------------------------------------------
       
    44 //
       
    45 QVideoPlayerEngine::~QVideoPlayerEngine()
       
    46 {
       
    47 }
       
    48 
       
    49 // -------------------------------------------------------------------------------------------------
       
    50 // initialize()
       
    51 // -------------------------------------------------------------------------------------------------
       
    52 //
       
    53 void QVideoPlayerEngine::initialize()
       
    54 {
       
    55 }
       
    56 
       
    57 // -------------------------------------------------------------------------------------------------
       
    58 // handleCommand()
       
    59 // -------------------------------------------------------------------------------------------------
       
    60 //
       
    61 void QVideoPlayerEngine::handleCommand( int commandCode )
       
    62 {
       
    63 }
       
    64 
       
    65 
       
    66 // -------------------------------------------------------------------------------------------------
       
    67 // handleQuit()
       
    68 // -------------------------------------------------------------------------------------------------
       
    69 //
       
    70 void QVideoPlayerEngine::handleQuit()
       
    71 {
       
    72     delete this;
       
    73 }
       
    74 
       
    75 
       
    76 // -------------------------------------------------------------------------------------------------
       
    77 // playMedia()
       
    78 // -------------------------------------------------------------------------------------------------
       
    79 //
       
    80 void QVideoPlayerEngine::playMedia( QString filePath )
       
    81 {
       
    82 }
       
    83 
       
    84 // -------------------------------------------------------------------------------------------------
       
    85 // setEmbedded()
       
    86 // -------------------------------------------------------------------------------------------------
       
    87 //
       
    88 void QVideoPlayerEngine::setEmbedded()
       
    89 {
       
    90     mEmbedded = true;
       
    91 }
       
    92 
       
    93 // End of file