telephonyprotocols/umtsgprsscpr/inc/RSpudManInterface.h
changeset 64 b34bb05ac869
parent 56 ab72d5c1d770
equal deleted inserted replaced
56:ab72d5c1d770 64:b34bb05ac869
     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 MSpudManInterface handle class definition.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22  
       
    23 
       
    24 
       
    25 #ifndef RSPUDMANINTERFACE_H
       
    26 #define RSPUDMANINTERFACE_H
       
    27 
       
    28 #include <networking/mspudmaninterface.h>
       
    29 #include <comms-infras/commsdebugutility.h>
       
    30 
       
    31 
       
    32 /**
       
    33 Client side implementation of MSpudManInterface. 
       
    34 This is a very simplistic implementation that just holds a refernce to
       
    35 the server side and forwards all the calls to it. This implementation
       
    36 can be changed in the future to facilitate for IPC.
       
    37 */
       
    38 class RSpudManInterface : public MSpudManInterface
       
    39 {
       
    40 public:
       
    41    RSpudManInterface();
       
    42    void Init(MSpudManInterface* aSpudManImpl);
       
    43    void Close ();
       
    44    virtual void Input(TContextId aContextId, TInt aEvent, TInt aParam);
       
    45 
       
    46    virtual void SetContextTerminationErrorAndStop(TContextId aContextId, TInt aErrorCode);
       
    47 
       
    48    inline ~RSpudManInterface ()
       
    49       {
       
    50    	__FLOG_CLOSE;
       
    51       }
       
    52    
       
    53 
       
    54 private:
       
    55    MSpudManInterface* iSpudManImpl;
       
    56 
       
    57 public:
       
    58 	__FLOG_DECLARATION_MEMBER;
       
    59 };
       
    60 
       
    61 #endif
       
    62 // RSPUDMANINTERFACE_H