predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsKeyMap.h
branchRCL_3
changeset 21 b3431bff8c19
parent 0 e686773b3f54
child 58 d4f567ce2e7c
equal deleted inserted replaced
15:e8e3147d53eb 21:b3431bff8c19
    69      * Returns ETrue if this language is supported
    69      * Returns ETrue if this language is supported
    70      */
    70      */
    71     TBool IsLanguageSupportedL(const TUint32 aLanguage);
    71     TBool IsLanguageSupportedL(const TUint32 aLanguage);
    72 
    72 
    73     void ReconstructKeymapL();
    73     void ReconstructKeymapL();
       
    74     
    74     /**
    75     /**
    75      * Returns the pool Id for a key                               
    76      * Returns the pool Id for a Character                               
    76      */
    77      */
    77     TInt CPcsKeyMap::PoolIdForCharacter(const TChar& aChar);
    78     TInt PoolIdForCharacter(TChar aChar);
       
    79     
    78     /**
    80     /**
    79      * Returns total number of pools                                
    81      * Returns total number of pools                                
    80      */
    82      */
    81     TInt PoolCount();
    83     TInt PoolCount();
    82 
    84 
   153      * Add keymap for keyboard by type and language
   155      * Add keymap for keyboard by type and language
   154      * @ aKeyboardType, the current keyboard type.
   156      * @ aKeyboardType, the current keyboard type.
   155      * @ aLanguage, the keymap construct language.
   157      * @ aLanguage, the keymap construct language.
   156      */
   158      */
   157     void AddKeyMapforConcreteKeyboardL( TInt aKeyboardType, TLanguage aLanguage );
   159     void AddKeyMapforConcreteKeyboardL( TInt aKeyboardType, TLanguage aLanguage );
       
   160     
       
   161     /**
       
   162      * In case the given character is a Chinese characer, give the first
       
   163      * character of it's first spelling using the current spelling mode.
       
   164      * Otherwise, the character is returned unmodified.
       
   165      */
       
   166     TChar FirstCharFromSpellingL( TChar aChar ) const;
   158 
   167 
   159 private:
   168 private:
   160     CPtiEngine* iPtiEngine;
   169     CPtiEngine* iPtiEngine;
   161 
   170 
   162     CPcsAlgorithm2* iAlgorithm;
   171     CPcsAlgorithm2* iAlgorithm;