videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/src/hbvideobaseplaybackview.cpp
changeset 15 cf5481c2bc0b
child 20 b9e04db066d4
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     1 /*
       
     2 * Copyright (c) 2010 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 Video playback view
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 1 %
       
    19 
       
    20 
       
    21 
       
    22 //  Include Files
       
    23 #include <aknappui.h>
       
    24 #include <qgraphicssceneevent>
       
    25 #include <hbinstance.h>
       
    26 #include <mmf/common/mmferrors.h>
       
    27 
       
    28 #include "../inc/hbvideobaseplaybackview.h"
       
    29 #include "mpxvideo_debug.h"
       
    30 
       
    31 
       
    32 //  Member Functions
       
    33 
       
    34 // -------------------------------------------------------------------------------------------------
       
    35 // HbVideoPlaybackView::HbVideoPlaybackView()
       
    36 // -------------------------------------------------------------------------------------------------
       
    37 //
       
    38 HbVideoBasePlaybackView::HbVideoBasePlaybackView()
       
    39 {
       
    40     MPX_DEBUG(_L("HbVideoBasePlaybackView::HbVideoBasePlaybackView()"));
       
    41 }
       
    42 
       
    43 // -------------------------------------------------------------------------------------------------
       
    44 //   HbVideoPlaybackView::~HbVideoPlaybackView()
       
    45 // -------------------------------------------------------------------------------------------------
       
    46 //
       
    47 HbVideoBasePlaybackView::~HbVideoBasePlaybackView()
       
    48 {
       
    49     MPX_DEBUG(_L("HbVideoBasePlaybackView::~HbVideoBasePlaybackView()"));
       
    50 }
       
    51 
       
    52 // -------------------------------------------------------------------------------------------------
       
    53 // HbVideoBasePlaybackView::mouseReleaseEvent
       
    54 // -------------------------------------------------------------------------------------------------
       
    55 //
       
    56 void HbVideoBasePlaybackView::mouseReleaseEvent( QGraphicsSceneMouseEvent *event )
       
    57 {
       
    58     MPX_DEBUG(_L("HbVideoBasePlaybackView::mouseReleaseEvent()"));
       
    59     Q_UNUSED( event );
       
    60     emit tappedOnScreen();
       
    61 }
       
    62 
       
    63 // EOF