phoneapp/phoneui2/tsrc/ut_phoneuikeyeventadapter/cphoneuicontroller_stub.h
changeset 21 92ab7f8d0eab
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
       
     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 
       
    36 // FORWARD DECLARATIONS
       
    37 
       
    38 class CPhoneUIController_Stub : 
       
    39     public MPhoneKeyEventHandler
       
    40     {
       
    41     public:
       
    42         
       
    43         /**
       
    44         * C++ default constructor.
       
    45         */
       
    46         CPhoneUIController_Stub();
       
    47         
       
    48         /**
       
    49         * Destructor.
       
    50         */
       
    51         virtual ~CPhoneUIController_Stub();
       
    52 
       
    53 
       
    54         TKeyResponse HandleKeyEventL(
       
    55             const TKeyEvent& aKeyEvent,
       
    56             TEventCode aEventCode );
       
    57 
       
    58 
       
    59         
       
    60     };
       
    61 
       
    62 #endif      // CPHONEUICONTROLLER_STUB_H   
       
    63             
       
    64 // End of File