fep/aknfep/inc/AknFepUIManagerStateInterface.h
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2002 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 MAknFepUIManagerStateInterface definition.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 
       
    30 #ifndef __AKN_FEP_UI_MAN_STATE_INTERFACE_H__
       
    31 #define __AKN_FEP_UI_MAN_STATE_INTERFACE_H__
       
    32 
       
    33 // INCLUDES
       
    34 #include <e32std.h>
       
    35 #include <badesca.h> //CDesCArrayFlat
       
    36 
       
    37 #include "AknFepGlobalEnums.h"
       
    38 
       
    39 // CONSTANTS
       
    40 
       
    41 // MACROS
       
    42 
       
    43 // DATA TYPES
       
    44 
       
    45 // FUNCTION PROTOTYPES
       
    46 
       
    47 // FORWARD DECLARATIONS
       
    48 
       
    49 // CLASS DECLARATION
       
    50 class MAknFepManagerUIInterface;
       
    51 class CPtiEngine;
       
    52 class CAknFepCaseManager;
       
    53 
       
    54 //the follow class for phrase creation
       
    55 class MZhuyinKeyHandler;
       
    56 class CAknFepZhuyinAnalyser;
       
    57 
       
    58 /**
       
    59  *  CAknFepUIManagerBase class.
       
    60  *
       
    61  *  @lib AknFep.lib
       
    62  *  @since 2.6
       
    63  *
       
    64  */
       
    65 class MAknFepUIManagerStateInterface
       
    66     {
       
    67 public: // New Functions
       
    68     /**
       
    69      * 
       
    70      * 
       
    71      * @since 2.6
       
    72      */
       
    73     virtual TUIState State() const = 0;
       
    74 
       
    75     /**
       
    76      * 
       
    77      * 
       
    78      * @since 2.6
       
    79      */
       
    80     virtual TUIState ChangeState(TUIState) = 0;
       
    81 
       
    82     /**
       
    83      * 
       
    84      * 
       
    85      * @since 2.6
       
    86      */
       
    87     virtual MAknFepManagerUIInterface* FepMan() const = 0;
       
    88 
       
    89     /**
       
    90      * 
       
    91      * 
       
    92      * @since 2.6
       
    93      */
       
    94     virtual CPtiEngine* PtiEngine() const = 0;
       
    95 
       
    96     /**
       
    97      * zhuyin phrase creation
       
    98      * 
       
    99      * @since 5.0
       
   100      */
       
   101     virtual MZhuyinKeyHandler* ZhuyinKeyHandler() = 0;
       
   102 
       
   103     /**
       
   104      * zhuyin phrase creation
       
   105      * 
       
   106      * @since 5.0
       
   107      */
       
   108     virtual CAknFepZhuyinAnalyser* ZhuyinAnalyser() = 0;
       
   109 
       
   110     
       
   111     /**
       
   112      * 
       
   113      * 
       
   114      * @since 2.6
       
   115      */
       
   116     virtual TBool IsValidChineseInputKey(TInt aKey) const = 0;
       
   117 
       
   118     /**
       
   119      * 
       
   120      * 
       
   121      * @since 3.0
       
   122      */
       
   123     virtual TBool IsValidChineseInputKeyQwerty(TInt aKey) const = 0;
       
   124 
       
   125     /**
       
   126      * 
       
   127      * 
       
   128      * @since 3.0
       
   129      */
       
   130     virtual TBool IsQwertyZhuyinToneMarkKey(TInt aKey) const = 0;
       
   131     
       
   132     /**
       
   133      * 
       
   134      * 
       
   135      * @since 2.6
       
   136      */
       
   137     virtual TLanguage GetLanguage() const = 0;
       
   138 
       
   139     /**
       
   140      * 
       
   141      * 
       
   142      * @since 2.6
       
   143      */
       
   144     virtual TPtr GetLatestDeliberateSelection() const = 0;
       
   145 
       
   146     /**
       
   147      * 
       
   148      * 
       
   149      * @since 2.6
       
   150      */
       
   151     virtual CAknFepCaseManager* CaseMan() const = 0;
       
   152 
       
   153     /**
       
   154      * 
       
   155      * 
       
   156      * @since 2.6
       
   157      */
       
   158     virtual TInt ThaiSCTResourceId(TUint aPrewChar, TInt aKey) = 0;
       
   159 
       
   160     /**
       
   161      * 
       
   162      * 
       
   163      * @since 2.6
       
   164      */
       
   165     virtual CDesCArrayFlat* CandidateArray() = 0;
       
   166 
       
   167     /**
       
   168      * 
       
   169      * 
       
   170      * @since 2.6
       
   171      */
       
   172     virtual TBool IsPredictive() const = 0;
       
   173 
       
   174     /**
       
   175      * 
       
   176      * 
       
   177      * @since 2.6
       
   178      */
       
   179     virtual void SetInlineEditUnderlineVisibility(TBool aFlag) = 0;
       
   180 
       
   181     /**
       
   182      * 
       
   183      * 
       
   184      * @since 2.6
       
   185      */
       
   186     virtual const TDesC& NumberModeKeyMapping() const = 0;
       
   187 
       
   188     /**
       
   189      * Check Qwerty keypad
       
   190      * 
       
   191      * @since 3.0
       
   192      */
       
   193     virtual TBool IsQwerty() const = 0;
       
   194     
       
   195     /**
       
   196      * Check chinese symbol
       
   197      */
       
   198     virtual TBool IsValidChineseSymbol(TInt aKey) const =0;
       
   199 
       
   200     };
       
   201 
       
   202 #endif
       
   203 
       
   204 // End of file