--- a/uifw/EikStd/coctlinc/aknedwinphysicshandler.h Tue Aug 31 15:28:30 2010 +0300
+++ b/uifw/EikStd/coctlinc/aknedwinphysicshandler.h Wed Sep 01 12:16:19 2010 +0100
@@ -46,6 +46,17 @@
* Two-phased constructor.
*/
static CAknEdwinPhysicsHandler* NewLC( CEikEdwin& aEdwin );
+
+ /**
+ * Two-phased constructor.
+ */
+ static CAknEdwinPhysicsHandler* NewL( CEikEdwin& aEdwin, CAknPhysics* aPhysics );
+
+ /**
+ * Two-phased constructor.
+ */
+ static CAknEdwinPhysicsHandler* NewLC( CEikEdwin& aEdwin, CAknPhysics* aPhysics );
+
/**
* Destructor.
*/
@@ -126,6 +137,12 @@
*/
TBool DragThresholdExceeded( const TPoint& aCurrentPosition ) const;
+ /**
+ * Disables dragging until next pointer up.
+ *
+ */
+ void DisableDragging();
+
public: // From base class MAknPhysicsObserver.
@@ -158,7 +175,7 @@
/**
* C++ constructor.
*/
- CAknEdwinPhysicsHandler( CEikEdwin& aEdwin );
+ CAknEdwinPhysicsHandler( CEikEdwin& aEdwin, CAknPhysics* aPhysics = NULL );
/**
* Symbian second-phase constructor.
@@ -348,6 +365,11 @@
* Start position of drag.
*/
TPoint iStartPosition;
+
+ /**
+ * ETrue if this class owns CAknPhysics instance.
+ */
+ TBool iOwnsPhysics;
};
#endif // C_AKNEDWINPHYSICSHANDLER_H