predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsKeyMap.h
branchRCL_3
changeset 7 b3431bff8c19
parent 0 e686773b3f54
child 18 d4f567ce2e7c
--- a/predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsKeyMap.h	Mon Mar 15 12:39:26 2010 +0200
+++ b/predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsKeyMap.h	Wed Mar 31 21:13:53 2010 +0300
@@ -71,10 +71,12 @@
     TBool IsLanguageSupportedL(const TUint32 aLanguage);
 
     void ReconstructKeymapL();
+    
     /**
-     * Returns the pool Id for a key                               
+     * Returns the pool Id for a Character                               
      */
-    TInt CPcsKeyMap::PoolIdForCharacter(const TChar& aChar);
+    TInt PoolIdForCharacter(TChar aChar);
+    
     /**
      * Returns total number of pools                                
      */
@@ -155,6 +157,13 @@
      * @ aLanguage, the keymap construct language.
      */
     void AddKeyMapforConcreteKeyboardL( TInt aKeyboardType, TLanguage aLanguage );
+    
+    /**
+     * In case the given character is a Chinese characer, give the first
+     * character of it's first spelling using the current spelling mode.
+     * Otherwise, the character is returned unmodified.
+     */
+    TChar FirstCharFromSpellingL( TChar aChar ) const;
 
 private:
     CPtiEngine* iPtiEngine;