--- a/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsphysicsengine.h Fri Mar 12 15:41:49 2010 +0200
+++ b/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsphysicsengine.h Mon Mar 15 12:39:47 2010 +0200
@@ -76,11 +76,6 @@
TBool IsRunning() const;
/**
- * Checks if the physics is running drag
- */
- TBool IsDragging() const;
-
- /**
* Stops physics
*/
void Stop();
@@ -114,9 +109,22 @@
TTime iStartTime;
/**
+ * Drag start position
+ */
+ TPoint iStartPosition;
+
+ /**
* Taskswitcher physics for item switch animation
*/
CTsPhysics* iTaskswitcherPhysics;
+
+ /**
+ * Marks direction in which drag events are made:
+ * Values: 0 - uninitialized
+ * 1 - drag right
+ * -1 - drag left
+ */
+ TInt iDragDirection;
};