textinput/peninputarc/inc/pensrvcliinc/peninputanim.h
branchRCL_3
changeset 43 ebd48d2de13c
parent 10 6defe5d1bd39
child 44 ecbabf52600f
--- a/textinput/peninputarc/inc/pensrvcliinc/peninputanim.h	Thu Aug 19 10:15:25 2010 +0300
+++ b/textinput/peninputarc/inc/pensrvcliinc/peninputanim.h	Tue Aug 31 15:31:50 2010 +0300
@@ -29,6 +29,7 @@
 
 #include "peninputmsgqueue.h"
 
+class CSubscriber;
 #include "peninputcmdparamext.h"
 /**
  * Animation DLL creation class.
@@ -69,8 +70,9 @@
 
 class MTactileFeedbackServer;
 
+// Modify for bug ETMA-7X2C5Y begin
 class CPenPointerEventSuppressor;
-
+// Modify for bug ETMA-7X2C5Y end
 /**
  * CPeninputAnim
  *
@@ -292,10 +294,11 @@
 #endif // RD_TACTILE_FEEDBACK  
 
     void SetDSAState(TBool aFlag);
-	
     //For discreetPop
-    void SetDiscreeptPop(TRect aArea);
+    static TInt DiscreetPopChangeNotification(TAny* aObj);
+    void HandleDiscreetPopNotification();
     
+    void Refresh();
 private:    // Data
     /**
      * Current state 
@@ -397,27 +400,34 @@
      * Flag to detect primary touch device at startup
      */
     TBool  iPrimaryTouchPtDetected;
-	
-    /**
-     * Flag there is a discreept popped
-     */	
+    CSubscriber*    iDiscreetPopSubscriber;
+    RProperty       iDiscreetPopProperty;
     TBool iDiscreetPoped;
-	
-    /**
-     * Flag need capture for key event when discreept pop
-     */	
     TBool iDiscreetPopedCapture;
-	
-    /**
-     * the discreept pop area
-     */	
     TRect iDiscreetPopArea;
-    
-    TPoint iPointerDown;  // record pointer that button is pressing in  
-    TBool iIsMove;  //  Is key moving event happened. 
+    RAknUiServer iAknUiSrv; 
+    TBool iDirty;
     };
 
 
 
+class CSubscriber : public CActive
+    {
+public:
+    CSubscriber(TCallBack aCallBack, RProperty& aProperty);
+    ~CSubscriber();
+
+public: // New functions
+    void SubscribeL();
+    void StopSubscribe();
+
+private: // from CActive
+    void RunL();
+    void DoCancel();
+
+private:
+    TCallBack   iCallBack;
+    RProperty&  iProperty;
+    };
 #endif //C_CPENINPUTANIMDLL_H
 // End of File