telephonyprotocols/umtsgprsscpr/Test/te_spud/inc/SpudManInterfaceTest.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 14:49:29 +0300
changeset 42 3adadc800673
permissions -rw-r--r--
Revision: 201023 Kit: 2010123

// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Declaration of the SpudManInterface for SPUD FSM unit tests
// 
//

/**
 @file 
 @internalComponent
*/

#ifndef SPUDMANINTERFACETEST_H
#define SPUDMANINTERFACETEST_H

#include <networking/mspudmaninterface.h>

// forward declarations
class CTestRequestListener;

/** Implementation of MSpudManInterface used to test the FSM */
class TSpudManInterfaceTest : public MSpudManInterface
	{
	public:
	TSpudManInterfaceTest(CInputRequestListener& aListener);
	
	void Input(TContextId aPdpId, TInt aEvent, TInt aParam);

	void SetContextTerminationErrorAndStop(TContextId aContextId, TInt aErrorCode);

private:
	/** Used as the interface between the thread running the active objects and the test execute thread.
		Contains the data passed to/from Input requests */
	CInputRequestListener& iListener;
	};
	
#endif
// SPUDMANINTERFACETEST_H