diff -r d881023c13eb -r cbb1bfb7ebfb mmappcomponents/harvester/filehandler/inc/mpxharvesterfilehandlerimp.h --- a/mmappcomponents/harvester/filehandler/inc/mpxharvesterfilehandlerimp.h Mon May 03 12:58:40 2010 +0300 +++ b/mmappcomponents/harvester/filehandler/inc/mpxharvesterfilehandlerimp.h Fri May 14 16:21:14 2010 +0300 @@ -274,6 +274,13 @@ * for a list of folders to automatically scan */ void ParseAutoScanL(); + + /** + * Refreshes scan drives so that non-existing + * drives are not scanned. + * Used add back drives that were take out because of dismount + */ + void RefreshScanDrivesL(); /*** * Resets the current scan directory and frees memory @@ -350,13 +357,6 @@ */ RPointerArray* GetDrmFilesL(); - /** - * Verifies if aDrive is ready. - * @param aDrive, certain drive name, such as EDRIVEE - * @return TBool ETrue if aDrive is ready,otherwise EFalse - */ - TBool IsDriveReady( TDriveNumber aDrive ); - public: /** @@ -392,13 +392,12 @@ RPointerArray iFolderMonitors; // Multiple drives RPointerArray iSupportedTypes; CDesCArray* iContainerTypes; + RArray iConfiguredDrivesToScan; RArray iDrivesToScan; RArray iFilteredDrivesToScan; RArray iPathsToBlock; TBool iOutOfDisk; -#ifdef RD_MULTIPLE_DRIVE - TInt iRemovedDrive; -#endif // RD_MULTIPLE_DRIVE + TBool iFilteredOutOfDisk; // Metadata related CMPXMetadataScanner* iMetadataScanner;