idlehomescreen/xmluirendering/uiengine/inc/xngesture.h
branchRCL_3
changeset 12 9674c1a575e9
parent 0 f72a12da539e
--- a/idlehomescreen/xmluirendering/uiengine/inc/xngesture.h	Fri Mar 12 15:41:49 2010 +0200
+++ b/idlehomescreen/xmluirendering/uiengine/inc/xngesture.h	Mon Mar 15 12:39:47 2010 +0200
@@ -214,6 +214,16 @@
          * @return Distance between two points
          */
         TPoint Distance() const;
+        
+        /**
+         * Checks and returns gesture
+         * 
+         * @param aRelevantAxis See @ref MGestureEvent::Code
+         * @return gesture code by analysing the sequence of points
+         */
+        TXnGestureCode CodeFromPoints( TAxis aRelevantAxis ) const;
+        
+        TXnGestureCode LastDirection( TAxis aRelevantAxis ) const;
 
     private:
         
@@ -238,14 +248,6 @@
             TPoint iPos;
             };
 
-        /**
-         * Checks and returns gesture
-         * 
-         * @param aRelevantAxis See @ref MGestureEvent::Code
-         * @return gesture code by analysing the sequence of points
-         */
-        TXnGestureCode CodeFromPoints( TAxis aRelevantAxis ) const;
-
         /** 
          * Returns elapsed time
          *