classicui_pub/editors_api/inc/EIKEDWIN.H
branchRCL_3
changeset 7 08e69e956a8c
parent 6 9f56a4e1b8ab
child 10 3d340a0166ff
--- a/classicui_pub/editors_api/inc/EIKEDWIN.H	Mon Mar 15 12:41:34 2010 +0200
+++ b/classicui_pub/editors_api/inc/EIKEDWIN.H	Wed Mar 31 21:59:52 2010 +0300
@@ -75,6 +75,7 @@
 
 // For construction of Rich Text - based custom formatters
 class CRichText;
+class CAknPhysics;
 
 enum TReplaceOption
 	{
@@ -331,12 +332,12 @@
         /**
          * Enables kinetic scrolling.
          */
-        void EnableKineticScrollingL();
+        void EnableKineticScrollingL( CAknPhysics* aPhysics = NULL );
 
         /**
          * Enables physics.
          */
-        void EnablePhysicsL();
+        void EnablePhysicsL( CAknPhysics* aPhysics = NULL );
 
         /**
          * Initializes physics.
@@ -2341,6 +2342,17 @@
      */
     IMPORT_C void EnableKineticScrollingL( TBool aEnable );
 
+    /**
+     * Enables kinetic scrolling in editor with external CAknPhysics instance.
+     * 
+     * Note that when kinetic scrolling is enabled, it is
+     * no longer possible to disable it with this function.
+     * 
+     * @since S60 v5.2
+     * @param aPhysics Pointer to external CAknPhysics instance.
+     */
+    IMPORT_C void EnableKineticScrollingL( CAknPhysics* aPhysics );
+
 public: 
     void EnableSmileySupportL( TBool aEnableSmiley );
     TBool IsSmileyEnabled() const;