fep/aknfep/inc/AknFepManager.h
branchRCL_3
changeset 19 ac7e4d1d9209
parent 18 b1ea1642412e
--- a/fep/aknfep/inc/AknFepManager.h	Thu Jul 15 19:01:13 2010 +0300
+++ b/fep/aknfep/inc/AknFepManager.h	Thu Aug 19 10:15:25 2010 +0300
@@ -131,6 +131,7 @@
  		};    
 
 const TInt KChrKeyMultitapTimeout = 1000000;
+const TInt KFnKeyLongPressTimeout = 600000;
 /**
  * Translates ET9Eng language codes into localised descriptors and command Id's
  */
@@ -1364,6 +1365,32 @@
        * @return none
        */
      void SetChangeModeByShiftAndSpace( TBool aFlag );
+     
+     /**
+      * Handle the Fn Key Monitor
+      *
+      * @since 3.0
+      * @return KErrNone if succeed, KErrDied if failed
+      */
+     static TInt HandleFnKeyPressMonitorCallback(TAny* aObj);
+     
+     /**
+      * Handle the Fn Key Monitor
+      * for Qwerty only.
+      *
+      * @since 3.0
+      */
+     void HandleFnKeyPressMonitor();
+     
+     /**
+     * Activate fn key press monitor to detect long pressing event
+     */
+     void ActivateFnkeyPressMonitor();
+     
+     /**
+     * Deactivate fn key press monitor
+     */
+     void DeactivateFnkeyPressMonitor();
 
 public:
     //Hash Key Manager Interface
@@ -2836,7 +2863,12 @@
      * when rotating the screen, we need to consider it, e.g V-ITUT  to FSQ
      */
     TBool iMatchesListLaunched;
-
+    
+    /**
+     * monitor the long press event from Fn key
+     * when long press event occurs, Fn key will be set to Lock state
+     */
+    CPeriodic* iFnKeypressMonitor;
 
 public:
 
@@ -2895,6 +2927,10 @@
     * @param aCallback, the callback when the timer expires
     */
     void MultitapThroughSCTCharL(TCallBack aCallBack);       	 
+    /**
+    * Notify mfne editor to toggle AM or PM for 12-hour time
+    */
+    void ChangeMfneAmPm();
 private:        
     TBool NumericResourceMultiTapTimerTimeoutL();