equal
deleted
inserted
replaced
159 WRITELOG( "CMMCMonitorAO::DoCancel" ); // DEBUG INFO |
159 WRITELOG( "CMMCMonitorAO::DoCancel" ); // DEBUG INFO |
160 |
160 |
161 iFs.NotifyChangeCancel( iStatus ); |
161 iFs.NotifyChangeCancel( iStatus ); |
162 } |
162 } |
163 |
163 |
164 CMMCMonitorAO::CMMCMonitorAO() : CActive( KHarvesterServerHighPriority ), |
164 CMMCMonitorAO::CMMCMonitorAO() : CActive( KHarvesterPriorityMonitorPlugin ), |
165 iObserver( NULL ) |
165 iObserver( NULL ) |
166 { |
166 { |
167 } |
167 } |
168 |
168 |
169 void CMMCMonitorAO::BuildDriveList() |
169 void CMMCMonitorAO::BuildDriveList() |
281 |
281 |
282 if ( iDriveList[i] > KDriveAbsent && iPreviousDriveList[i] > KDriveAbsent ) |
282 if ( iDriveList[i] > KDriveAbsent && iPreviousDriveList[i] > KDriveAbsent ) |
283 { |
283 { |
284 if ( iMediaIdList[i] != mediaId ) |
284 if ( iMediaIdList[i] != mediaId ) |
285 { |
285 { |
286 WRITELOG3( "CMMCMonitorAO::CompareDriveLists media changed %d, old=%u, new=%u", i, iMediaIdList[i], mediaId ); // DEBUG INFO |
286 WRITELOG3( "CMMCMonitorAO::CompareDriveLists media changed %d, old=%d, new=%d", i, iMediaIdList[i], mediaId ); // DEBUG INFO |
287 // skip mount events if mediaId is 0 |
287 // skip mount events if mediaId is 0 |
288 if ( iMediaIdList[i] != 0 ) |
288 if ( iMediaIdList[i] != 0 ) |
289 { |
289 { |
290 iObserver->MountEvent( chr, iMediaIdList[i], EDismounted ); |
290 iObserver->MountEvent( chr, iMediaIdList[i], EDismounted ); |
291 } |
291 } |