fep/aknfep/inc/AknFepManager.h
branchRCL_3
changeset 9 e6a39382bb9c
parent 8 4eb1ae11334f
child 11 c8fb4cf7b3ae
equal deleted inserted replaced
8:4eb1ae11334f 9:e6a39382bb9c
  2455 		
  2455 		
  2456     /**
  2456     /**
  2457      * Return the chinese input mode used last time
  2457      * Return the chinese input mode used last time
  2458      */
  2458      */
  2459 	inline TInt LastChineseInputMode() const;
  2459 	inline TInt LastChineseInputMode() const;
  2460 	
  2460 
       
  2461     /**
       
  2462      * Return active input language, only used for languages popup list
       
  2463      */
       
  2464     inline TInt ActiveInputLanguage() const;
       
  2465 
       
  2466     /**
       
  2467      * Set active input language, only used for languages popup list
       
  2468      */	    
       
  2469     inline void SetActiveInputLanguage(TInt aInputLanguage);
       
  2470     
  2461 private:
  2471 private:
  2462        
  2472        
  2463     /**
  2473     /**
  2464     * Checks if the current editor is fully FEP aware.
  2474     * Checks if the current editor is fully FEP aware.
  2465     *
  2475     *
  2799      * Flag for wether input mode is changed by shift+space
  2809      * Flag for wether input mode is changed by shift+space
  2800      */
  2810      */
  2801     TBool iShiftAndSpace;
  2811     TBool iShiftAndSpace;
  2802     CAknFepThaiSCTSelector* iAknFepThaiSCTSelector;
  2812     CAknFepThaiSCTSelector* iAknFepThaiSCTSelector;
  2803     
  2813     
       
  2814     /**
       
  2815      * Active input language, only used for languages pop up list,
       
  2816      * can not changed in other cases, e.g. in latin-only editor
       
  2817      */
       
  2818     TInt iActiveInputLanguage;
  2804 public:
  2819 public:
  2805 
  2820 
  2806     //the follow 8 functions for phrase creation 
  2821     //the follow 8 functions for phrase creation 
  2807     /**
  2822     /**
  2808      * Set the state to pinyin phrase creation
  2823      * Set the state to pinyin phrase creation
  3179     
  3194     
  3180 inline void CAknFepManager::SetGainForeground( TBool aGainForeground )  
  3195 inline void CAknFepManager::SetGainForeground( TBool aGainForeground )  
  3181     {
  3196     {
  3182     iGainForeground = aGainForeground;
  3197     iGainForeground = aGainForeground;
  3183     }
  3198     }
       
  3199 
       
  3200 /**
       
  3201 * Return active input language, only used for languages popup list
       
  3202 */    
       
  3203 inline TInt CAknFepManager::ActiveInputLanguage() const
       
  3204     {
       
  3205     return iActiveInputLanguage;
       
  3206     }
       
  3207 
       
  3208 /**
       
  3209 * Set active input language, only used for languages popup list
       
  3210 */ 
       
  3211 inline void CAknFepManager::SetActiveInputLanguage( TInt aInputLanguage )  
       
  3212     {
       
  3213     iActiveInputLanguage = aInputLanguage;
       
  3214     }
       
  3215 
  3184 #endif
  3216 #endif
  3185 
  3217 
  3186 // End of file
  3218 // End of file