mediator/src/Client/MediatorEventConsumerBody.cpp
changeset 13 cef4ff1e6c4f
parent 0 4e1aa6a622a0
equal deleted inserted replaced
12:e978f818f9bd 13:cef4ff1e6c4f
     1 /*
     1 /*
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2009 - 2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   118         
   118         
   119         iDestroyed = NULL; // set member variable to NULL, because local variable goes out of scope            
   119         iDestroyed = NULL; // set member variable to NULL, because local variable goes out of scope            
   120         }
   120         }
   121     StartEventReceiving();
   121     StartEventReceiving();
   122     }
   122     }
   123         
   123  
       
   124 // -----------------------------------------------------------------------------
       
   125 // CMediatorEventConsumerBody::RunError
       
   126 // This will be called when there is a leave from ResetDataBufferL() and MediatorEventL() of RunL()
       
   127 // 
       
   128 // -----------------------------------------------------------------------------
       
   129 //
       
   130 #ifdef _DEBUG
       
   131 TInt CMediatorEventConsumerBody::RunError( TInt aError )
       
   132 #else
       
   133 TInt CMediatorEventConsumerBody::RunError( TInt /*aError*/ )
       
   134 #endif //_DEBUG
       
   135 	{
       
   136 	ERROR_TRACE(Print(_L("[Mediator Server]\t CMediatorEventConsumerBody::RunError called with Error %d\n"), aError ));
       
   137 	//Ignore the error
       
   138 	return KErrNone;
       
   139 	}
       
   140 	
   124 // -----------------------------------------------------------------------------
   141 // -----------------------------------------------------------------------------
   125 // CMediatorEventConsumerBody::DoCancel
   142 // CMediatorEventConsumerBody::DoCancel
   126 //  
   143 //  
   127 // (other items were commented in a header).
   144 // (other items were commented in a header).
   128 // -----------------------------------------------------------------------------
   145 // -----------------------------------------------------------------------------