fep/aknfep/inc/AknFepUiInputStateNextWordJapanesePredictive.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 TAknFepUiInputStateNextWordJapanesePredictive definition.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 
       
    30 #ifndef __AKN_FEP_UI_INPUT_STATE_NEXTWORD_JAPANESE_PREDICTIVE_H__
       
    31 #define __AKN_FEP_UI_INPUT_STATE_NEXTWORD_JAPANESE_PREDICTIVE_H__
       
    32 
       
    33 // INCLUDES
       
    34 #include <e32std.h>
       
    35 
       
    36 #include "AknFepUiInputStateJapanesePredictiveBase.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 enum TKeyPressLength;
       
    51 
       
    52 /**
       
    53  *  TAknFepUiInputStateNextWordJapanesePredictive class.
       
    54  *
       
    55  *  @lib AknFep.lib
       
    56  *  @since 2.6
       
    57  */
       
    58 class TAknFepUiInputStateNextWordJapanesePredictive
       
    59     :public TAknFepUiInputStateJapanesePredictiveBase
       
    60     {
       
    61 public: // Constructors and destructor
       
    62     /**
       
    63      * C++ default Constructor
       
    64      * 
       
    65      * @since 2.6
       
    66      * @param aOwner Object derived MAknFepUIManagerStateInterface
       
    67      * @param aUIContainer MAknFepUICtrlContainerJapanese object
       
    68      */
       
    69     TAknFepUiInputStateNextWordJapanesePredictive(
       
    70                                 MAknFepUIManagerStateInterface* aOwner,
       
    71                                 MAknFepUICtrlContainerJapanese* aUIContainer);
       
    72 
       
    73 public: // Functions from base classes
       
    74     /**
       
    75      * From TAknFepUiInputStateJapanesePredictiveBase
       
    76      * Initialize state
       
    77      * 
       
    78      * @since 2.6
       
    79      */
       
    80      void InitializeStateL();
       
    81 
       
    82     /**
       
    83      * From TAknFepUiInputStateJapanesePredictiveBase
       
    84      * Handling Command events. This Method is called by CAknFepUIManagerJapanese.
       
    85      * 
       
    86      * @since 2.6
       
    87      * @param aCommandId Command ID value
       
    88      */
       
    89      void HandleCommandL(TInt aCommandId);
       
    90 
       
    91 protected: // Functions from base classes
       
    92     /**
       
    93      * From TAknFepUiInputStateJapanesePredictiveBase
       
    94      * Handling short keypress events of the numeric and the star.
       
    95      * HandleKeyEventL() call this method.
       
    96      * 
       
    97      * @since 2.6
       
    98      * @param aKey The event key code
       
    99      * @return ETrue If aKey was handled
       
   100      */
       
   101      TBool HandleNumericShortKeyL(TInt aKey);
       
   102 
       
   103     /**
       
   104      * From TAknFepUiInputStateJapanesePredictiveBase
       
   105      * Handling auxiliary keypress events including OK and Backspace.
       
   106      * HandleKeyEventL() call this method.
       
   107      *
       
   108      * @since 2.6
       
   109      * @param aKey The event key code
       
   110      * @param aLength The Length of keypress
       
   111      * @return ETrue If aKey was handled
       
   112      */
       
   113      TBool HandleAuxKeyL(TInt aKey, TKeyPressLength aLength);
       
   114     };
       
   115 #endif //__AKN_FEP_UI_INPUT_STATE_NEXTWORD_JAPANESE_PREDICTIVE_H__
       
   116 
       
   117 // End of file