idlefw/tsrc/wsplugin/stub/numerickeyhandler_stub.h
branchRCL_3
changeset 28 053c6c7c14f3
equal deleted inserted replaced
27:2c7f27287390 28:053c6c7c14f3
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Numeric key forwarding handler for Active Idle WS Plug-in.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _NUMERICKEYHANDLER_STUB_H
       
    20 #define _NUMERICKEYHANDLER_STUB_H
       
    21 
       
    22 #include "testeventhandler_stub.h"
       
    23 
       
    24 class MAnimGeneralFunctionsWindowExtension;
       
    25 class MAiPSPropertyObserver;
       
    26 
       
    27 namespace AiWsPlugin {
       
    28 
       
    29 /**
       
    30  * (STUB) Numeric key forwarding handler for Active Idle WS Plug-in. 
       
    31  */
       
    32 class CNumericKeyHandler : 
       
    33         public T_AiWsPlugin::CTestEventHandler
       
    34     {
       
    35 public:
       
    36     /**
       
    37      * Creates a new instance of this class.
       
    38      *
       
    39      * @param aTargetWgId Window Group id of the target application where 
       
    40      *                    numeric key events are forwarded.
       
    41      * @return A new object of this class. The returned object is left on the
       
    42      *         cleanup stack.
       
    43      */
       
    44     static CNumericKeyHandler* NewLC
       
    45         ( TInt aTargetWgId, MAnimGeneralFunctionsWindowExtension* aWindowExt );
       
    46 
       
    47     ~CNumericKeyHandler();
       
    48 
       
    49 private:
       
    50     CNumericKeyHandler
       
    51         ( TInt aTargetWgId, MAnimGeneralFunctionsWindowExtension* aWindowExt );
       
    52 
       
    53 public: // data
       
    54     TInt iTargetWgId;
       
    55     MAnimGeneralFunctionsWindowExtension* iWindowExt;
       
    56     };
       
    57 
       
    58 } // namespace AiWsPlugin
       
    59 
       
    60 
       
    61 #endif // _NUMERICKEYHANDLER_STUB_H