websrv_pub/web_service_connection_api/tsrc/bc/connection/src/testconsumer.cpp
changeset 0 62f9d29f7211
child 22 c5fabff9b552
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:        
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 // INCLUDE FILES
       
    28 #include <e32base.h>
       
    29 #include "testconsumer.h"
       
    30 
       
    31  	CTestConsumer* CTestConsumer::NewL()
       
    32  	{
       
    33  		CTestConsumer* pTest = new (ELeave) CTestConsumer();
       
    34  		return pTest;
       
    35  	}
       
    36  	CTestConsumer* CTestConsumer::NewLC()
       
    37  	{
       
    38  		CTestConsumer* pTest = new (ELeave) CTestConsumer();
       
    39  		CleanupStack::PushL(pTest);
       
    40  		return pTest;
       
    41  	}
       
    42  	CTestConsumer::CTestConsumer()
       
    43  	{
       
    44  		
       
    45  	}
       
    46  	void CTestConsumer::HandleMessageL(const TDesC8& aMessage) 
       
    47  	{
       
    48  	}
       
    49 	void CTestConsumer::HandleErrorL(const TInt aErrorCode, 
       
    50                                   const TDesC8& aErrorMessage)
       
    51 	{
       
    52 	}
       
    53  	void CTestConsumer::SetStatus(const TInt aStatus)
       
    54  	{
       
    55  	}