predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsKeyMap.h
branchRCL_3
changeset 21 b3431bff8c19
parent 15 e8e3147d53eb
child 64 c1e8ba0c2b16
equal deleted inserted replaced
15:e8e3147d53eb 21:b3431bff8c19
    71         /**
    71         /**
    72          * Destructor
    72          * Destructor
    73          */
    73          */
    74         virtual ~CPcsKeyMap();
    74         virtual ~CPcsKeyMap();
    75 
    75 
       
    76         TBool IsItutPredictiveAvailable() const;
       
    77         TBool IsQwertyPredictiveAvailable() const;
       
    78 
    76         static TBool IsModePredictive( TKeyboardModes aKbMode );
    79         static TBool IsModePredictive( TKeyboardModes aKbMode );
    77 
    80 
    78         /**
    81         /**
    79          * Convert functions to get the key string from query and/or chars string
    82          * Convert functions to get the key string from query and/or chars string
    80          */
    83          */
   123          * Second phase constructor
   126          * Second phase constructor
   124          */
   127          */
   125         void ConstructL();
   128         void ConstructL();
   126 
   129 
   127         /**
   130         /**
   128          * Select keyboard types according to available physical keyboard(s)
   131          * Get physical Itu-T and QWERTY keyboard types of the device
   129          */
   132          */
   130         void SetupKeyboardTypesL();
   133         void GetPhysicalKeyboardTypesL( TPtiKeyboardType& aItutKbType,
       
   134                                         TPtiKeyboardType& aQwertyKbType );
   131 
   135 
   132         /**
   136         /**
   133          * Returns the pool Id for a key
   137          * Returns the pool Id for a key
   134          */
   138          */
   135         TInt PoolIdForKey(const TPtiKey aKey, TKeyboardModes aKbMode);
   139         TInt PoolIdForKey(const TPtiKey aKey, TKeyboardModes aKbMode);