phoneapp/phoneui2/tsrc/ut_phoneuikeyeventadapter/cphoneuicontroller_stub.h
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     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: 
       
    15 *     Phone UI controller class.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPHONEUICONTROLLER_STUB_H
       
    21 #define CPHONEUICONTROLLER_STUB_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <e32std.h>
       
    26 
       
    27 #include "MPhoneKeyEventHandler.h"
       
    28 
       
    29 extern int m_scan_code;
       
    30 extern int m_code;
       
    31 extern int m_scan_code_down;
       
    32 extern int m_code_down;
       
    33 extern int m_repeats;
       
    34 extern bool m_leave;
       
    35 extern TEventCode m_eventCode;
       
    36 
       
    37 // FORWARD DECLARATIONS
       
    38 
       
    39 class CPhoneUIController_Stub : 
       
    40     public MPhoneKeyEventHandler
       
    41     {
       
    42     public:
       
    43         
       
    44         /**
       
    45         * C++ default constructor.
       
    46         */
       
    47         CPhoneUIController_Stub();
       
    48         
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         virtual ~CPhoneUIController_Stub();
       
    53 
       
    54 
       
    55         TKeyResponse HandleKeyEventL(
       
    56             const TKeyEvent& aKeyEvent,
       
    57             TEventCode aEventCode );
       
    58 
       
    59 
       
    60         
       
    61     };
       
    62 
       
    63 #endif      // CPHONEUICONTROLLER_STUB_H   
       
    64             
       
    65 // End of File