--- a/textinput/peninputarc/inc/pensrvcliinc/peninputanim.h Tue Aug 31 15:31:50 2010 +0300
+++ b/textinput/peninputarc/inc/pensrvcliinc/peninputanim.h Wed Sep 01 12:23:33 2010 +0100
@@ -29,7 +29,6 @@
#include "peninputmsgqueue.h"
-class CSubscriber;
#include "peninputcmdparamext.h"
/**
* Animation DLL creation class.
@@ -70,9 +69,8 @@
class MTactileFeedbackServer;
-// Modify for bug ETMA-7X2C5Y begin
class CPenPointerEventSuppressor;
-// Modify for bug ETMA-7X2C5Y end
+
/**
* CPeninputAnim
*
@@ -294,11 +292,10 @@
#endif // RD_TACTILE_FEEDBACK
void SetDSAState(TBool aFlag);
+
//For discreetPop
- static TInt DiscreetPopChangeNotification(TAny* aObj);
- void HandleDiscreetPopNotification();
+ void SetDiscreeptPop(TRect aArea);
- void Refresh();
private: // Data
/**
* Current state
@@ -400,34 +397,27 @@
* Flag to detect primary touch device at startup
*/
TBool iPrimaryTouchPtDetected;
- CSubscriber* iDiscreetPopSubscriber;
- RProperty iDiscreetPopProperty;
+
+ /**
+ * Flag there is a discreept popped
+ */
TBool iDiscreetPoped;
+
+ /**
+ * Flag need capture for key event when discreept pop
+ */
TBool iDiscreetPopedCapture;
+
+ /**
+ * the discreept pop area
+ */
TRect iDiscreetPopArea;
- RAknUiServer iAknUiSrv;
- TBool iDirty;
+
+ TPoint iPointerDown; // record pointer that button is pressing in
+ TBool iIsMove; // Is key moving event happened.
};
-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