fep/aknfep/inc/AknFepManager.h
branchRCL_3
changeset 19 ac7e4d1d9209
parent 18 b1ea1642412e
equal deleted inserted replaced
18:b1ea1642412e 19:ac7e4d1d9209
   129     ESplInitialCapsWordSentence=0x200000,
   129     ESplInitialCapsWordSentence=0x200000,
   130     ESplConstraintMask=0xFFFF
   130     ESplConstraintMask=0xFFFF
   131  		};    
   131  		};    
   132 
   132 
   133 const TInt KChrKeyMultitapTimeout = 1000000;
   133 const TInt KChrKeyMultitapTimeout = 1000000;
       
   134 const TInt KFnKeyLongPressTimeout = 600000;
   134 /**
   135 /**
   135  * Translates ET9Eng language codes into localised descriptors and command Id's
   136  * Translates ET9Eng language codes into localised descriptors and command Id's
   136  */
   137  */
   137 class TFepLanguageTranslation
   138 class TFepLanguageTranslation
   138     {
   139     {
  1362        * Set wether ipnut mode is change by press shift+space. 
  1363        * Set wether ipnut mode is change by press shift+space. 
  1363        * This is for half-qwerty.
  1364        * This is for half-qwerty.
  1364        * @return none
  1365        * @return none
  1365        */
  1366        */
  1366      void SetChangeModeByShiftAndSpace( TBool aFlag );
  1367      void SetChangeModeByShiftAndSpace( TBool aFlag );
       
  1368      
       
  1369      /**
       
  1370       * Handle the Fn Key Monitor
       
  1371       *
       
  1372       * @since 3.0
       
  1373       * @return KErrNone if succeed, KErrDied if failed
       
  1374       */
       
  1375      static TInt HandleFnKeyPressMonitorCallback(TAny* aObj);
       
  1376      
       
  1377      /**
       
  1378       * Handle the Fn Key Monitor
       
  1379       * for Qwerty only.
       
  1380       *
       
  1381       * @since 3.0
       
  1382       */
       
  1383      void HandleFnKeyPressMonitor();
       
  1384      
       
  1385      /**
       
  1386      * Activate fn key press monitor to detect long pressing event
       
  1387      */
       
  1388      void ActivateFnkeyPressMonitor();
       
  1389      
       
  1390      /**
       
  1391      * Deactivate fn key press monitor
       
  1392      */
       
  1393      void DeactivateFnkeyPressMonitor();
  1367 
  1394 
  1368 public:
  1395 public:
  1369     //Hash Key Manager Interface
  1396     //Hash Key Manager Interface
  1370     TBool IsOnlyNumericPermitted() const;
  1397     TBool IsOnlyNumericPermitted() const;
  1371     void TryIncrementModeL(TInt aCurrentMode);
  1398     void TryIncrementModeL(TInt aCurrentMode);
  2834     /**
  2861     /**
  2835      * indicate whether matches popup list was lauched,
  2862      * indicate whether matches popup list was lauched,
  2836      * when rotating the screen, we need to consider it, e.g V-ITUT  to FSQ
  2863      * when rotating the screen, we need to consider it, e.g V-ITUT  to FSQ
  2837      */
  2864      */
  2838     TBool iMatchesListLaunched;
  2865     TBool iMatchesListLaunched;
  2839 
  2866     
       
  2867     /**
       
  2868      * monitor the long press event from Fn key
       
  2869      * when long press event occurs, Fn key will be set to Lock state
       
  2870      */
       
  2871     CPeriodic* iFnKeypressMonitor;
  2840 
  2872 
  2841 public:
  2873 public:
  2842 
  2874 
  2843     //the follow 8 functions for phrase creation 
  2875     //the follow 8 functions for phrase creation 
  2844     /**
  2876     /**
  2893    /**
  2925    /**
  2894     * multitaps thru the chars in the SCT.
  2926     * multitaps thru the chars in the SCT.
  2895     * @param aCallback, the callback when the timer expires
  2927     * @param aCallback, the callback when the timer expires
  2896     */
  2928     */
  2897     void MultitapThroughSCTCharL(TCallBack aCallBack);       	 
  2929     void MultitapThroughSCTCharL(TCallBack aCallBack);       	 
       
  2930     /**
       
  2931     * Notify mfne editor to toggle AM or PM for 12-hour time
       
  2932     */
       
  2933     void ChangeMfneAmPm();
  2898 private:        
  2934 private:        
  2899     TBool NumericResourceMultiTapTimerTimeoutL();    
  2935     TBool NumericResourceMultiTapTimerTimeoutL();    
  2900     
  2936     
  2901     /**
  2937     /**
  2902      * CAknFepManager::FindAndRemoveInputOptionsMenuItemL
  2938      * CAknFepManager::FindAndRemoveInputOptionsMenuItemL