equal
deleted
inserted
replaced
21 #include "fsutil.h" |
21 #include "fsutil.h" |
22 #include "harvestercenreputil.h" |
22 #include "harvestercenreputil.h" |
23 #include <driveinfo.h> |
23 #include <driveinfo.h> |
24 |
24 |
25 #include <e32cmn.h> |
25 #include <e32cmn.h> |
26 |
|
27 const TInt KMassStorageScanCustomPriority = 5; |
|
28 |
26 |
29 _LIT( KColon, ":" ); |
27 _LIT( KColon, ":" ); |
30 |
28 |
31 // construct/destruct |
29 // construct/destruct |
32 CMMCMonitorPlugin* CMMCMonitorPlugin::NewL() |
30 CMMCMonitorPlugin* CMMCMonitorPlugin::NewL() |
136 hdInfo.iMediaId = hdMediaId; |
134 hdInfo.iMediaId = hdMediaId; |
137 hdInfo.iDrive = driveLetter; |
135 hdInfo.iDrive = driveLetter; |
138 medias.Append( hdInfo ); |
136 medias.Append( hdInfo ); |
139 |
137 |
140 TRAP_IGNORE( iHddScanner = CMmcScannerAO::NewL( hdMediaId, iMdEClient, iObserver, |
138 TRAP_IGNORE( iHddScanner = CMmcScannerAO::NewL( hdMediaId, iMdEClient, iObserver, |
141 aHarvesterPluginFactory, KMassStorageScanCustomPriority, alreadyWaited )); |
139 aHarvesterPluginFactory, KHarvesterCustomImportantPriority, alreadyWaited )); |
142 } |
140 } |
143 } |
141 } |
144 |
142 |
145 iMMCMonitor->StartMonitoring( *this, medias ); |
143 iMMCMonitor->StartMonitoring( *this, medias ); |
146 |
144 |