sysstatemgmt/systemstateplugins/test/tintadptplugin/src/tsim_adaptationplugin_step.cpp
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
equal deleted inserted replaced
20:1ddbe54d0645 21:ccb4f6b3db21
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   160 	}
   160 	}
   161 
   161 
   162 TInt RTestSsmSimAdaptation::CleanupAdaptations()
   162 TInt RTestSsmSimAdaptation::CleanupAdaptations()
   163 	{
   163 	{
   164 	TInt ret = KErrNone;
   164 	TInt ret = KErrNone;
   165 	if(Handle())
   165     // Since actual plugins are being used, they cannot be unloaded.
   166 		{
   166     // Hence return without doing anything. There will be HeapMarkEnd to check that
   167 		ret =  SendReceive(EDebugCleanupAdaptations);
   167     // memory is not leaked.
   168 		}
       
   169 	return ret;
   168 	return ret;
   170 	}
   169 	}
   171 
   170 
   172 /** */
   171 /** */
   173 CTestSimAdaptStep::CTestSimAdaptStep ()
   172 CTestSimAdaptStep::CTestSimAdaptStep ()