fep/aknfep/peninputplugins/peninputimeplugincn/inc/pluginfepmanagerhwr.h
changeset 36 a7632c26d895
parent 35 0f326f2e628e
child 42 b3eaa440ab06
equal deleted inserted replaced
35:0f326f2e628e 36:a7632c26d895
     1 /*
       
     2 * Copyright (c) 2002-2005 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:            HWR layout UI class header
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 #ifndef C_PLUGINFEPMANAGERHWR_H
       
    30 #define C_PLUGINFEPMANAGERHWR_H
       
    31 
       
    32 // System includes
       
    33 #include <e32base.h>
       
    34 
       
    35 // User includes
       
    36 #include "pluginfepmanagerbase.h"
       
    37 
       
    38 //Forward declaration
       
    39 class CPenInputImePluginCn;
       
    40 class RPeninputServer;
       
    41 
       
    42 /**
       
    43  *  CPluginFepManagerHwr is the chinese HWR layout UI interface 
       
    44  *  "proxy" class.
       
    45  *
       
    46  *  @lib peninputimeplugincn.lib
       
    47  *  @since S60 v3.2
       
    48  */
       
    49 class CPluginFepManagerHwr : public CPluginFepManagerBase
       
    50     {
       
    51 public:
       
    52     /**
       
    53      * Symbian constructor.
       
    54      *
       
    55      * @since S60 v3.2
       
    56      * @param aOwner IME plugin reference 
       
    57      * @param aPenInputServer The pointer of RPeninputServer.
       
    58      * @return Pointer to created CPluginFepManagerHwr object
       
    59      */
       
    60     static CPluginFepManagerHwr* NewL(CPenInputImePluginCn& aOwner,
       
    61                                       RPeninputServer* aPenInputServer);
       
    62 
       
    63      /**
       
    64      * Set layout UI current number mode key mapping.
       
    65      * For example, 0-9 ; 0-9,*,# and etc.
       
    66      * 
       
    67      * @since S60 v3.2
       
    68      *
       
    69      * @param aAknEditorNumericKeymap Key mapping enum value.
       
    70      * @return None.
       
    71      */
       
    72    void SetNumberModeKeyMappingL( TAknEditorNumericKeymap aAknEditorNumericKeymap );
       
    73 
       
    74     /**
       
    75      * Handle command come from FEP.
       
    76      * 
       
    77      * @since S60 v3.2
       
    78      *
       
    79      * @param aCommandId Command id.
       
    80      * @param aParam  Command parameter.
       
    81      * @return None.
       
    82      */
       
    83     void HandleCommandL( TInt aCommandId, TInt aParam );
       
    84 
       
    85 private:
       
    86     /**
       
    87      * C++ default constructor.
       
    88      *
       
    89      * @since S60 v3.2
       
    90      * @param aOwner IME plugin reference 
       
    91      * @param aPenInputServer The pointer of RPeninputServer.
       
    92      */
       
    93     CPluginFepManagerHwr(CPenInputImePluginCn& aOwner,
       
    94                          RPeninputServer* aPenInputServer);
       
    95  
       
    96     /**
       
    97      * Set layout primary range.
       
    98      *
       
    99      * @since S60 v3.2
       
   100      * @param aEditorState Current editor state.
       
   101      * @return None
       
   102      */
       
   103     void SetLayoutRange(const CAknEdwinState* aEditorState);
       
   104     
       
   105     /**
       
   106      * Flag to skin set number key mapping.
       
   107      */
       
   108     TInt iNumberKeyMapping;
       
   109     };
       
   110 
       
   111 #endif // C_PLUGINFEPMANAGERHWR_H
       
   112 
       
   113 // End Of File