fep/aknfep/inc/aknfepuiinputstateminiqwertystrokephrase.h
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2007 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 *       Provides the TAknFepInputStateEntryMiniQwertyStrokePhrase,
       
    16 *       TAknFepInputStateEditingMiniQwertyStrokePhrase,
       
    17 *       TAknFepUiInputStateCandidateMiniQwertyStrokePhrase definition.
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 
       
    30 
       
    31 
       
    32 #ifndef __AKN_FEP_UI_INPUT_STATE_MINIQWERTY_STROKEPHRASECREATION_H__
       
    33 #define __AKN_FEP_UI_INPUT_STATE_MINIQWERTY_STROKEPHRASECREATION_H__
       
    34 //#include "aknfepuiinputminiqwertystrokephrasebase.h"
       
    35 #include "aknfepuiinputminiqwertystrokephrasebase.h"
       
    36 /**
       
    37  *  TAknFepInputStateEntryMiniQwertyStrokePhrase class.
       
    38  *
       
    39  *  Implementation of Stroke phrase entry state
       
    40  *
       
    41  *  @lib avkonfep.dll
       
    42  *  @since S60 v3.2
       
    43  */
       
    44 class TAknFepInputStateEntryMiniQwertyStrokePhrase: public TAknFepInputMiniQwertyStrokePhraseBase
       
    45     {
       
    46 public: 
       
    47     /**
       
    48      * C++ default constructor
       
    49      *
       
    50      * @since S60 V3.2
       
    51      * @param aOwner Pointer to UI manager state interface
       
    52      * @param aUIContainer Pointer to Chinese UI container
       
    53      */
       
    54     TAknFepInputStateEntryMiniQwertyStrokePhrase(
       
    55             MAknFepUIManagerStateInterface* aOwner,
       
    56             MAknFepUICtrlContainerChinese* aUIContainer );
       
    57     /**
       
    58      * From TAknFepInputStateCandidateBasePhrase
       
    59      * Handle system key press
       
    60      *
       
    61      * @since S60 v3.2
       
    62      * @param aKey System key event
       
    63      * @param aLength Key press length
       
    64      * @return ETrue if handle, otherwise this class do not handle this key
       
    65      */
       
    66      TBool HandleKeyL( TInt aKey, TKeyPressLength aLength );
       
    67      
       
    68      /**
       
    69       * Handling Command events.
       
    70       * This Method is called by CAknFepUIManagerJapanese.
       
    71       *
       
    72       * @param aCommandId Command ID value
       
    73       */
       
    74      void HandleCommandL( TInt aCommandId );
       
    75     };
       
    76 
       
    77 /**
       
    78  *  TAknFepInputStateEditingMiniQwertyStrokePhrase class.
       
    79  *
       
    80  *  Implementation of Stroke phrase editing state
       
    81  *
       
    82  *  @lib avkonfep.dll
       
    83  *  @since S60 v3.2
       
    84  */
       
    85 class TAknFepInputStateEditingMiniQwertyStrokePhrase: public TAknFepInputMiniQwertyStrokePhraseBase
       
    86     {
       
    87 public: 
       
    88     /**
       
    89      * C++ default constructor
       
    90      *
       
    91      * @since S60 V3.2
       
    92      * @param aOwner Pointer to UI manager state interface
       
    93      * @param aUIContainer Pointer to Chinese UI container
       
    94      */
       
    95     TAknFepInputStateEditingMiniQwertyStrokePhrase(
       
    96             MAknFepUIManagerStateInterface* aOwner,
       
    97             MAknFepUICtrlContainerChinese* aUIContainer );
       
    98     /**
       
    99      * From TAknFepInputStateCandidateBasePhrase
       
   100      * Handle system key press
       
   101      *
       
   102      * @since S60 v3.2
       
   103      * @param aKey System key event
       
   104      * @param aLength Key press length
       
   105      * @return ETrue if handle, otherwise this class do not handle this key
       
   106      */
       
   107     TBool HandleKeyL( TInt aKey ,TKeyPressLength alength );
       
   108     /**
       
   109      * Handling Command events.
       
   110      * This Method is called by CAknFepUIManagerJapanese.
       
   111      *
       
   112      * @param aCommandId Command ID value
       
   113      */
       
   114     void HandleCommandL( TInt aCommandId );
       
   115     };
       
   116 
       
   117 /**
       
   118  *  TAknFepUiInputStateCandidateMiniQwertyPinyinAndStrokePhrase class.
       
   119  *
       
   120  *  Implementation of Pinyin and Stroke phrase candidate state
       
   121  *
       
   122  *  @lib avkonfep.dll
       
   123  *  @since S60 v3.2
       
   124  */
       
   125 class TAknFepUiInputStateCandidateMiniQwertyStrokePhrase: public TAknFepInputMiniQwertyStrokePhraseBase
       
   126     {
       
   127 public:
       
   128 
       
   129     /**
       
   130      * C++ default constructor
       
   131      *
       
   132      * @since S60 V3.2
       
   133      * @param aOwner Pointer to UI manager state interface
       
   134      * @param aUIContainer Pointer to Chinese UI container
       
   135      */
       
   136     TAknFepUiInputStateCandidateMiniQwertyStrokePhrase(
       
   137         MAknFepUIManagerStateInterface* aOwner,
       
   138         MAknFepUICtrlContainerChinese* aUIContainer);
       
   139     /**
       
   140      * Handling Command events.
       
   141      * This Method is called by CAknFepUIManagerJapanese.
       
   142      *
       
   143      * @param aCommandId Command ID value
       
   144      */
       
   145     void HandleCommandL( TInt aCommandId );
       
   146 protected:
       
   147 
       
   148     /**
       
   149      * From TAknFepInputStateCandidateBasePhrase
       
   150      * Handle system key press
       
   151      *
       
   152      * @since S60 v3.2
       
   153      * @param aKey System key event
       
   154      * @param aLength Key press length
       
   155      * @return ETrue if handle, otherwise this class do not handle this key
       
   156      */
       
   157     TBool HandleKeyL(TInt aKey, TKeyPressLength aLength);
       
   158     };
       
   159 
       
   160 #endif /*__AKN_FEP_UI_INPUT_STATE_MINIQWERTY_STROKEPHRASECREATION_H__*/