videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/src/videoserviceview.cpp
changeset 36 8aed59de29f9
child 44 518105d52e45
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 impl for VideoServiceView
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  2 %
       
    19 
       
    20 
       
    21 #include "videoservices.h"
       
    22 #include "videoserviceview.h"
       
    23 #include "videoplayerengine.h"
       
    24 #include "mpxvideo_debug.h"
       
    25 
       
    26 
       
    27 VideoServiceView::VideoServiceView( VideoServices* parent, QVideoPlayerEngine* engine )
       
    28 {
       
    29     MPX_DEBUG(_L("VideoServiceView::VideoServiceView()"));
       
    30     
       
    31     Q_UNUSED( engine );    
       
    32 	mServiceApp = parent;
       
    33 }
       
    34 
       
    35 VideoServiceView::~VideoServiceView()
       
    36 {
       
    37     MPX_DEBUG(_L("VideoServiceView::~VideoServiceView()"));
       
    38 }
       
    39 
       
    40 void VideoServiceView::view( QString filePath )
       
    41 {
       
    42     MPX_DEBUG(_L("VideoServiceView::view()"));
       
    43     
       
    44     Q_UNUSED( filePath );    
       
    45    	mServiceApp->setCurrentService( VideoServices::EView );
       
    46 }