videoplayback/videoplaybackviews/tsrc/ut_userinputhandlertest/inc/videoplaybackcontainer_stub.h
branchRCL_3
changeset 23 befca0ec475f
parent 0 96612d01cf9f
equal deleted inserted replaced
22:839377eedc2b 23:befca0ec475f
       
     1 /*
       
     2 * Copyright (c) 2008 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 file for STIF Video Playback Views.
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: ou1cpsw#2 %
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 #ifndef __CVIDEOPLAYBACKCONTAINER_STUB_H__
       
    24 #define __CVIDEOPLAYBACKCONTAINER_STUB_H__
       
    25 
       
    26 
       
    27 /**
       
    28  *  Stub Container class.
       
    29  *
       
    30  */
       
    31 class CMPXVideoPlaybackContainer: public CBase
       
    32 {
       
    33     public:
       
    34 
       
    35         /**
       
    36         * Two-phased constructor.
       
    37         */
       
    38         static CMPXVideoPlaybackContainer* NewL();
       
    39 
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         virtual ~CMPXVideoPlaybackContainer();
       
    44 
       
    45     private:
       
    46 
       
    47         /**
       
    48         * C++ default constructor.
       
    49         */
       
    50         CMPXVideoPlaybackContainer();
       
    51     
       
    52         /**
       
    53         * Symbian 2nd phase constructor.
       
    54         */
       
    55         void ConstructL();
       
    56 
       
    57     public:
       
    58 
       
    59         void HandleCommandL( TInt aCommand, TInt aValue = 0 );
       
    60         void DoHandleKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
       
    61         void DoHandlePointerEventL( const TPointerEvent& aPointerEvent );
       
    62         
       
    63     private:
       
    64         
       
    65         TKeyEvent       iKeyEvent;
       
    66         TEventCode      iEventCode;
       
    67         TPointerEvent   iPointerEvent;
       
    68         TInt            iCommand;
       
    69         
       
    70     public:     // Friend class
       
    71         
       
    72         friend class CUserinputhandlertest;
       
    73 
       
    74 };
       
    75 
       
    76 #endif  // __CVIDEOPLAYBACKCONTAINER_STUB_H__
       
    77 
       
    78 // End of File