harvester/monitorplugins/mmcplugin/src/mmcmonitorao.cpp
changeset 21 50bf9db68373
parent 1 acef663c1218
child 48 1389872e7c51
--- a/harvester/monitorplugins/mmcplugin/src/mmcmonitorao.cpp	Fri Mar 19 09:38:01 2010 +0200
+++ b/harvester/monitorplugins/mmcplugin/src/mmcmonitorao.cpp	Fri Apr 16 15:23:55 2010 +0300
@@ -44,7 +44,7 @@
 	
 	User::LeaveIfError( iFs.Connect() );
 	CActiveScheduler::Add( this );
-	for( TInt i=0; i<KMaxDrives; i++ )
+	for( TInt i = KMaxDrives - 1; i >=0; i-- )
 	    {
 	    iMediaIdList[i] = 0;
 	    }
@@ -112,27 +112,6 @@
 	return ETrue;
 	}
 
-TBool CMMCMonitorAO::Resume()
-	{
-	WRITELOG( "CMMCMonitorAO::Resume" ); // DEBUG INFO
-
-	iPreviousDriveList.Zero();
-	iPreviousDriveList.Copy( iDriveList );
-
-	BuildDriveList();
-	CompareDriveLists();
-	StartNotify();
-	
-	return ETrue;
-	}
-
-TBool CMMCMonitorAO::Pause()
-	{
-	WRITELOG( "CMMCMonitorAO::Pause" ); // DEBUG INFO
-	
-	return StopMonitoring();
-	}
-
 void CMMCMonitorAO::RunL()
 	{
 #ifdef _DEBUG