mmappcomponents/harvester/filehandler/inc/mpxharvesterfilehandlerimp.h
changeset 27 cbb1bfb7ebfb
parent 25 d881023c13eb
child 38 959ca709b049
equal deleted inserted replaced
25:d881023c13eb 27:cbb1bfb7ebfb
   272     /**
   272     /**
   273     * Parses the auto scan cenrep key
   273     * Parses the auto scan cenrep key
   274     * for a list of folders to automatically scan
   274     * for a list of folders to automatically scan
   275     */
   275     */
   276     void ParseAutoScanL();
   276     void ParseAutoScanL();
       
   277     
       
   278     /**
       
   279      * Refreshes scan drives so that non-existing 
       
   280      * drives are not scanned.
       
   281 	 * Used add back drives that were take out because of dismount
       
   282      */
       
   283     void RefreshScanDrivesL();
   277 
   284 
   278     /***
   285     /***
   279     * Resets the current scan directory and frees memory
   286     * Resets the current scan directory and frees memory
   280     */
   287     */
   281     void Reset();
   288     void Reset();
   347     /**
   354     /**
   348      * Get a list of files with DRM flag set from the Harvester DB.
   355      * Get a list of files with DRM flag set from the Harvester DB.
   349      * @return list of files
   356      * @return list of files
   350      */
   357      */
   351     RPointerArray<CMPXHarvesterDbItem>* GetDrmFilesL();
   358     RPointerArray<CMPXHarvesterDbItem>* GetDrmFilesL();
   352 
       
   353     /**
       
   354      * Verifies if aDrive is ready.
       
   355      * @param aDrive, certain drive name, such as EDRIVEE
       
   356      * @return TBool ETrue if aDrive is ready,otherwise EFalse
       
   357      */
       
   358     TBool IsDriveReady( TDriveNumber aDrive );
       
   359 
   359 
   360 public:
   360 public:
   361 
   361 
   362     /**
   362     /**
   363     * Delayed callback function
   363     * Delayed callback function
   390     CMPXDbSynchronizer*               iDbSynchronizer;
   390     CMPXDbSynchronizer*               iDbSynchronizer;
   391     RPointerArray<CMPXDiskSpaceWatcher> iDiskMonitors;
   391     RPointerArray<CMPXDiskSpaceWatcher> iDiskMonitors;
   392     RPointerArray<CMPXFolderMonitor>  iFolderMonitors;  // Multiple drives
   392     RPointerArray<CMPXFolderMonitor>  iFolderMonitors;  // Multiple drives
   393     RPointerArray<CMPXCollectionType> iSupportedTypes;
   393     RPointerArray<CMPXCollectionType> iSupportedTypes;
   394     CDesCArray*                       iContainerTypes;
   394     CDesCArray*                       iContainerTypes;
       
   395     RArray<TPath>                     iConfiguredDrivesToScan;
   395     RArray<TPath>                     iDrivesToScan;
   396     RArray<TPath>                     iDrivesToScan;
   396     RArray<TPath>                     iFilteredDrivesToScan;
   397     RArray<TPath>                     iFilteredDrivesToScan;
   397     RArray<TPath>                     iPathsToBlock;
   398     RArray<TPath>                     iPathsToBlock;
   398     TBool                             iOutOfDisk;
   399     TBool                             iOutOfDisk;
   399 #ifdef RD_MULTIPLE_DRIVE
   400     TBool                             iFilteredOutOfDisk;
   400     TInt                              iRemovedDrive;
       
   401 #endif // RD_MULTIPLE_DRIVE
       
   402 
   401 
   403     // Metadata related
   402     // Metadata related
   404     CMPXMetadataScanner*              iMetadataScanner;
   403     CMPXMetadataScanner*              iMetadataScanner;
   405     CMPXPlaylistScanner*              iPlaylistScanner;
   404     CMPXPlaylistScanner*              iPlaylistScanner;
   406     CMPXBrokenLinkCleanup*            iBrokenLink;
   405     CMPXBrokenLinkCleanup*            iBrokenLink;