telephonyprotocols/umtsgprsscpr/inc/MSpudManInterface.h
changeset 68 d0d9cc530d21
parent 62 8ef833fbf5aa
child 75 f45cd1ad4667
equal deleted inserted replaced
62:8ef833fbf5aa 68:d0d9cc530d21
     1 // Copyright (c) 2005-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 // The call-back interface of MPdpFsmInterface used by UmtsGprsSCPR to flag
       
    15 // operation results to SpudMan.
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalComponent
       
    22 */
       
    23 
       
    24 #ifndef MSPUDMANINTERFACE_H
       
    25 #define MSPUDMANINTERFACE_H
       
    26 
       
    27 #include <networking/umtsnifcontrolif.h>
       
    28 #include <in_iface.h>
       
    29 
       
    30 /**
       
    31 Identifier used in a Control call for initialising the RPdpFsmInterface (in SpudMan) with a
       
    32 pointer to the real C-class (in the UmtsGprsSCPR).
       
    33 */
       
    34 const TInt KInitialisePdpFsm = 0x80;
       
    35 
       
    36 /**
       
    37 Identifier used in a SpudInput call to signal the SpudMan that the UmtsGprsSCPR is shutting
       
    38 down and that the real CPdpFsmInterface object will be deleted.
       
    39 */
       
    40 const TUint KPdpFsmShuttingDown = 0xff; 
       
    41 
       
    42 /** Name of SPUD */
       
    43 _LIT(KSpudName, "spud");
       
    44 
       
    45 /**
       
    46 Interface class for SpudMan, to be used by SpudFsm.
       
    47 */
       
    48 class MSpudManInterface
       
    49 {
       
    50 public:
       
    51 	virtual void Input(TContextId aContextId, TInt aEvent, TInt aParam) = 0;
       
    52 
       
    53 	virtual void SetContextTerminationErrorAndStop(TContextId aContextId, TInt aErrorCode) = 0;
       
    54 
       
    55 };
       
    56 
       
    57 #endif
       
    58 // MSPUDMANINTERFACE_H
       
    59