telephonyprotocols/umtsgprsscpr/Test/te_spud/inc/SpudManInterfaceTest.h
changeset 64 b34bb05ac869
parent 56 ab72d5c1d770
equal deleted inserted replaced
56:ab72d5c1d770 64:b34bb05ac869
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Declaration of the SpudManInterface for SPUD FSM unit tests
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file 
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef SPUDMANINTERFACETEST_H
       
    24 #define SPUDMANINTERFACETEST_H
       
    25 
       
    26 #include <networking/mspudmaninterface.h>
       
    27 
       
    28 // forward declarations
       
    29 class CTestRequestListener;
       
    30 
       
    31 /** Implementation of MSpudManInterface used to test the FSM */
       
    32 class TSpudManInterfaceTest : public MSpudManInterface
       
    33 	{
       
    34 	public:
       
    35 	TSpudManInterfaceTest(CInputRequestListener& aListener);
       
    36 	
       
    37 	void Input(TContextId aPdpId, TInt aEvent, TInt aParam);
       
    38 
       
    39 	void SetContextTerminationErrorAndStop(TContextId aContextId, TInt aErrorCode);
       
    40 
       
    41 private:
       
    42 	/** Used as the interface between the thread running the active objects and the test execute thread.
       
    43 		Contains the data passed to/from Input requests */
       
    44 	CInputRequestListener& iListener;
       
    45 	};
       
    46 	
       
    47 #endif
       
    48 // SPUDMANINTERFACETEST_H
       
    49