filemanager/Engine/inc/CFileManagerEngine.h
branchRCL_3
changeset 12 60626d494346
parent 0 6a9f87576119
child 20 efe289f793e7
--- a/filemanager/Engine/inc/CFileManagerEngine.h	Mon Mar 15 12:39:38 2010 +0200
+++ b/filemanager/Engine/inc/CFileManagerEngine.h	Wed Mar 31 21:15:58 2010 +0300
@@ -380,6 +380,14 @@
         IMPORT_C TBool IsFolder( const TInt aIndex ) const;
 
         /**
+        * Asynchronous notifies about drive added or changed
+        * @since 5.2
+        * @param aPtr Pointer to an instance of this class
+        * @return 0
+        */
+        static TInt DriveAddedOrChangeAsyncL( TAny* aPtr );
+
+        /**
         * Notifies about drive added or changed
         * @since 3.1
         */
@@ -790,6 +798,18 @@
         // Checks is current drive available
         TBool CurrentDriveAvailable();
 
+        /**
+        * Start asynchronous disk event notification timer
+        * @since 5.2
+        */
+        void StartDiskEventNotifyTimerAsyncL();
+
+        /**
+        * Stop asynchronous disk event notification timer
+        * @since 5.2
+        */
+        void StopDiskEventNotifyTimerAsync();
+
     private:
 
         // Own: General File List Model is used via this object.
@@ -890,6 +910,9 @@
         
         //Own: Whether the file was a sis type
         TBool iSisFile;
+
+        //Own: postpone disk event notification while disk refresh is ongoing
+        CPeriodic* iDelayedDiskEventNotify;
     };
 
 #endif      // CFILEMANAGERENGINE_H