sysstatemgmt/systemstateplugins/test/tintadptplugin/src/temergencycallrf_adaptationplugin_step.cpp
equal
deleted
inserted
replaced
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". |
155 } |
155 } |
156 |
156 |
157 TInt RTestSsmEmergencyCallRfAdaptation::CleanupAdaptations() |
157 TInt RTestSsmEmergencyCallRfAdaptation::CleanupAdaptations() |
158 { |
158 { |
159 TInt ret = KErrNone; |
159 TInt ret = KErrNone; |
160 if(Handle()) |
160 // Since actual plugins are being used, they cannot be unloaded. |
161 { |
161 // Hence return without doing anything. There will be HeapMarkEnd to check that |
162 ret = SendReceive(EDebugCleanupAdaptations); |
162 // memory is not leaked. |
163 } |
|
164 return ret; |
163 return ret; |
165 } |
164 } |
166 |
165 |
167 /** */ |
166 /** */ |
168 CTestEmergencyAdaptStep::CTestEmergencyAdaptStep () |
167 CTestEmergencyAdaptStep::CTestEmergencyAdaptStep () |