fep/aknfep/inc/AknFepUiInputStateCandidateHiraganaKanji.h
changeset 36 a7632c26d895
parent 35 0f326f2e628e
child 42 b3eaa440ab06
equal deleted inserted replaced
35:0f326f2e628e 36:a7632c26d895
     1 /*
       
     2 * Copyright (c) 2002-2004 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 TAknFepUiInputStateCandidateHiraganaKanji definition.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 
       
    30 #ifndef __AKN_FEP_UI_INPUT_STATE_CANDIDATE_HIRAGANA_KANJI_H__
       
    31 #define __AKN_FEP_UI_INPUT_STATE_CANDIDATE_HIRAGANA_KANJI_H__
       
    32 
       
    33 // INCLUDES
       
    34 #include <e32std.h>
       
    35 
       
    36 #include "AknFepUiInputStateEntryJapaneseMultitap.h"
       
    37 
       
    38 // CONSTANTS
       
    39 
       
    40 // MACROS
       
    41 
       
    42 // DATA TYPES
       
    43 
       
    44 // FUNCTION PROTOTYPES
       
    45 
       
    46 // FORWARD DECLARATIONS
       
    47 
       
    48 // CLASS DECLARATION
       
    49 class MAknFepUIManagerStateInterface;
       
    50 class CAknFepUICtrlJapaneseCandidatePane;
       
    51 enum TKeyPressLength;
       
    52 
       
    53 /**
       
    54  *  TAknFepUiInputStateCandidateHiraganaKanji class.
       
    55  *
       
    56  *  @lib AknFep.lib
       
    57  *  @since 2.6
       
    58  */
       
    59 class TAknFepUiInputStateCandidateHiraganaKanji
       
    60     :public TAknFepUiInputStateEntryJapaneseMultitap
       
    61     {
       
    62 public: //  Constructors and destructor
       
    63     /**
       
    64      * C++ default constructor
       
    65      * 
       
    66      * @since 2.6
       
    67      * @param aOwner Object derived MAknFepUIManagerStateInterfa
       
    68      * @param aUIContainer MAknFepUICtrlContainerJapanese object
       
    69      */
       
    70      TAknFepUiInputStateCandidateHiraganaKanji(
       
    71                                     MAknFepUIManagerStateInterface* aOwner,
       
    72                                     MAknFepUICtrlContainerJapanese* aUIContainer);
       
    73 
       
    74 public: // Functions from base classes
       
    75     /**
       
    76      * From TAknFepUiInputStateEntryJapaneseMultitap
       
    77      * Initialize state
       
    78      * 
       
    79      * @since 2.6
       
    80      */
       
    81     virtual void InitializeStateL();
       
    82 
       
    83     /**
       
    84      * From TAknFepUiInputStateEntryJapaneseMultitap
       
    85      * Processing of Closeing UI
       
    86      *
       
    87      * @since 2.6
       
    88      */
       
    89     virtual void CloseUI();
       
    90 
       
    91 protected:// Functions from base classes
       
    92     /**
       
    93      * From TAknFepUiInputStateEntryJapaneseMultitap
       
    94      * Handling short keypress events of the numeric and the star.
       
    95      *
       
    96      * @since 2.6
       
    97      * @param aKey The event key code
       
    98      * @return ETrue
       
    99      */
       
   100     virtual TBool HandleNumericShortKeyL(TInt aKey);
       
   101 
       
   102     /**
       
   103      * From TAknFepUiInputStateEntryJapaneseMultitap
       
   104      * Handling navigate keypress events.
       
   105      *
       
   106      * @since 2.6
       
   107      * @param aKey The event key code
       
   108      * @param aLength The Length of keypress
       
   109      * @return ETure
       
   110      */
       
   111     virtual TBool HandleNaviKeyL(TInt aKey, TKeyPressLength aLength);
       
   112 
       
   113     /**
       
   114      * From TAknFepUiInputStateEntryJapaneseMultitap
       
   115      * Handling auxiliary keypress events including OK and Backspace.
       
   116      * 
       
   117      * @since 2.6
       
   118      * @param aKey The event key code
       
   119      * @param aLength The Length of keypress
       
   120      * @return ETure
       
   121      */
       
   122     virtual TBool HandleAuxKeyL(TInt aKey, TKeyPressLength aLength);
       
   123 
       
   124     /**
       
   125      * From TAknFepUiInputStateJapanesePredictiveBase
       
   126      * Handling Command events. This Method is called by CAknFepUIManagerJapanese.
       
   127      *
       
   128      * @since 2.6
       
   129      * @param aCommandId Command ID value
       
   130      */
       
   131      void HandleCommandL(TInt aCommandId);
       
   132 
       
   133 protected: // New Fanctions
       
   134     virtual void UpdateCandidateListL(TInt aIndex = 0);
       
   135 
       
   136     };
       
   137 #endif //__AKN_FEP_UI_INPUT_STATE_CANDIDATE_HIRAGANA_KANJI_H__
       
   138 // End of file