uifw/EikStd/coctlinc/aknedwinphysicshandler.h
branchRCL_3
changeset 15 08e69e956a8c
parent 9 aabf2c525e0f
child 55 aecbbf00d063
--- a/uifw/EikStd/coctlinc/aknedwinphysicshandler.h	Mon Mar 15 12:41:34 2010 +0200
+++ b/uifw/EikStd/coctlinc/aknedwinphysicshandler.h	Wed Mar 31 21:59:52 2010 +0300
@@ -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.
      */
@@ -164,7 +175,7 @@
     /**
      * C++ constructor.
      */
-    CAknEdwinPhysicsHandler( CEikEdwin& aEdwin );
+    CAknEdwinPhysicsHandler( CEikEdwin& aEdwin, CAknPhysics* aPhysics  = NULL );
 
     /**
      * Symbian second-phase constructor.
@@ -354,6 +365,11 @@
      * Start position of drag.
      */
     TPoint iStartPosition;
+
+    /**
+     * ETrue if this class owns CAknPhysics instance.
+     */
+    TBool iOwnsPhysics;
     };
 
 #endif // C_AKNEDWINPHYSICSHANDLER_H