fep/aknfep/inc/AknFepUiInputStateEntryJapaneseMultitap.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 TAknFepUiInputStateEntryJapaneseMultitap definition.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 
       
    30 #ifndef __AKN_FEP_UI_INPUT_STATE_ENTRY_JAPANESE_MULTITAP_H__
       
    31 #define __AKN_FEP_UI_INPUT_STATE_ENTRY_JAPANESE_MULTITAP_H__
       
    32 
       
    33 // INCLUDES
       
    34 #include <e32std.h>
       
    35 
       
    36 #include "AknFepUiInputStateJapaneseBase.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  *  TAknFepUiInputStateEntryJapaneseMultitap class.
       
    54  *
       
    55  *  @lib AknFep.lib
       
    56  *  @since 2.6
       
    57  */
       
    58 class TAknFepUiInputStateEntryJapaneseMultitap
       
    59     :public TAknFepUiInputStateJapaneseBase
       
    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     TAknFepUiInputStateEntryJapaneseMultitap(
       
    70                                 MAknFepUIManagerStateInterface* aOwner,
       
    71                                 MAknFepUICtrlContainerJapanese* aUIContainer);
       
    72 
       
    73 public: // Functions from base classes
       
    74     /**
       
    75      * From TAknFepUiInputStateJapaneseBase
       
    76      * Call this function when Multitap timer of PtiEngine was time-out
       
    77      *
       
    78      * @since 2.6
       
    79      */
       
    80      void KeyTimerExpired();
       
    81 
       
    82     /**
       
    83      * From TAknFepUiInputStateJapaneseBase
       
    84      * Initialize state
       
    85      *
       
    86      * @since 2.6
       
    87      */
       
    88      void InitializeStateL();
       
    89 
       
    90 protected: // Functions from base classes
       
    91     /**
       
    92      * From TAknFepUiInputStateJapaneseBase
       
    93      * Handling short keypress events of the numeric and the star.
       
    94      * HandleKeyEventL() call this method.
       
    95      *
       
    96      * @since 2.6
       
    97      * @param aKey The event key code
       
    98      * @return ETrue If aKey was handled
       
    99      */
       
   100      TBool HandleNumericShortKeyL(TInt aKey);
       
   101 
       
   102     /**
       
   103      * From TAknFepUiInputStateJapaneseBase
       
   104      * Handling numeric long-keypress events.
       
   105      * HandleKeyEventL() call this method.
       
   106      *
       
   107      * @since 2.6
       
   108      * @param aKey The event key code
       
   109      * @return ETrue If aKey was handled
       
   110      */
       
   111      TBool HandleNumericLongKeyL(TInt aKey);
       
   112 
       
   113     /**
       
   114      * From TAknFepUiInputStateJapaneseBase
       
   115      * Handling navigate keypress events. HandleKeyEventL() call this method.
       
   116      *
       
   117      * @since 2.6
       
   118      * @param aKey The event key code
       
   119      * @param aLength The Length of keypress
       
   120      * @return ETrue If aKey was handled
       
   121      */
       
   122      TBool HandleNaviKeyL(TInt aKey, TKeyPressLength aLength);
       
   123 
       
   124     /**
       
   125      * From TAknFepUiInputStateJapaneseBase
       
   126      * Handling auxiliary keypress events including OK and Backspace.
       
   127      * HandleKeyEventL() call this method.
       
   128      *
       
   129      * @since 2.6
       
   130      * @param aKey The event key code
       
   131      * @param aLength The Length of keypress
       
   132      * @return ETrue If aKey was handled
       
   133      */
       
   134      TBool HandleAuxKeyL(TInt aKey, TKeyPressLength aLength);
       
   135 
       
   136     /**
       
   137      * From TAknFepUiInputStateJapaneseBase
       
   138      * Update inline editing string
       
   139      *
       
   140      * @since 2.6
       
   141      * @return ETrue If inline editing string was updated
       
   142      */
       
   143      TBool UpdateInlineEditingCharacterL();
       
   144 
       
   145     /**
       
   146      * From TAknFepUiInputStateJapaneseBase
       
   147      * Commit inline editing string
       
   148      *
       
   149      * @since 2.6
       
   150      * @return ETrue If inline editing string was updated
       
   151      */
       
   152      TBool CommitInlineEditingCharacterL();
       
   153 
       
   154     /**
       
   155      * From TAknFepUiInputStateJapanesePredictiveBase
       
   156      * Handling Command events. This Method is called by CAknFepUIManagerJapanese.
       
   157      *
       
   158      * @since 3.2
       
   159      * @param aCommandId Command ID value
       
   160      */
       
   161      void HandleCommandL(TInt aCommandId);
       
   162 
       
   163     };
       
   164 
       
   165 #endif //__AKN_FEP_UI_INPUT_STATE_ENTRY_JAPANESE_MULTITAP_H__
       
   166 // End of file