sysstatemgmt/systemstatereferenceplugins/clayer/src/ssmsimstatusobserver.cpp
branchRCL_3
changeset 3 a811597961f0
parent 0 4e1aa6a622a0
equal deleted inserted replaced
0:4e1aa6a622a0 3:a811597961f0
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-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".
   153 /**
   153 /**
   154  * CActive::RunError implementation
   154  * CActive::RunError implementation
   155  * 
   155  * 
   156  * @internalComponent
   156  * @internalComponent
   157  */
   157  */
       
   158 #ifdef _DEBUG
   158 TInt CSsmSimStatusObserver::RunError(TInt aError)
   159 TInt CSsmSimStatusObserver::RunError(TInt aError)
       
   160 #else 
       
   161 TInt CSsmSimStatusObserver::RunError(TInt)
       
   162 #endif // _DEBUG
   159 	{
   163 	{
   160 	DEBUGPRINT2A("CSsmSimStatusObserver RunError received error: %d", aError);
   164 	DEBUGPRINT2A("CSsmSimStatusObserver RunError received error: %d", aError);
   161 	return aError;
   165 	//Errors are thrown if SWP transitions are not allowed.
       
   166 	//So, handles such errors gracefully.
       
   167 	return KErrNone;
   162 	}
   168 	}
   163 
   169 
   164 /**
   170 /**
   165  * Constructs this object using the parameters provided by the SSM UI provider DLL.
   171  * Constructs this object using the parameters provided by the SSM UI provider DLL.
   166  * 
   172  *