javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtcomposite.h
changeset 23 98ccebc37403
parent 21 2a9601315dfc
child 34 71c436fe3ce0
--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtcomposite.h	Mon May 03 12:27:20 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtcomposite.h	Fri May 14 15:47:24 2010 +0300
@@ -19,7 +19,9 @@
 #include <mswtphysics.h>
 #include "eswtwidgetscore.h"
 #include "swtscrollablebase.h"
-
+#ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK
+#include <touchfeedback.h>
+#endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK
 
 class CEikScrollBarFrame;
 class CSwtScrollBar;
@@ -136,6 +138,7 @@
     void PaintUrgently() const;
 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK
     void UpdateTactileFeedbackDensity();
+    void DoScrollingFeedback();
 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK
 
 // Data
@@ -205,8 +208,10 @@
     /**
      * Kinetic scrolling tactile feedback
      */
+    MTouchFeedback* iFeedback; // Not own
     TInt iLastTactileFeedbackPos;
-    TInt iTactileFeedbackDensity;    
+    TInt iTactileFeedbackDensity;
+    TInt iLastPointerEventType;
 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK
 };