telephonyprotocols/rawipnif/version1/inc/MRawIPNifObserverBase.h
branchRCL_3
changeset 20 07a122eea281
parent 0 3553901f7fa8
equal deleted inserted replaced
19:630d2f34d719 20:07a122eea281
       
     1 // Copyright (c) 2002-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 // Defines the class MRawIPNifObserverBase. All internal NIF observer mixins
       
    15 // derive from this class.
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21 */
       
    22 
       
    23 #ifndef MRAWIPNIFOBSERVERBASE_H__
       
    24 #define MRAWIPNIFOBSERVERBASE_H__
       
    25 
       
    26 class MNifIfNotify;
       
    27 class CBcaIoController;
       
    28 class CProtocolIfBase;
       
    29 
       
    30 class MRawIPNifObserverBase
       
    31 	{
       
    32 public:
       
    33 	enum TInitialisationState
       
    34 		{
       
    35 		EStart,
       
    36 		EBcaController,
       
    37 		EInitialised
       
    38 		};
       
    39 
       
    40 public:
       
    41 	virtual void InitialiseL(TInitialisationState aState, TInt aError)=0;
       
    42 	virtual void ShutDown(TInitialisationState aState, TInt aError=KErrNone)=0;
       
    43 
       
    44 public:
       
    45 	virtual MNifIfNotify* GetAgent()=0;
       
    46 	virtual CProtocolIfBase* GetProtocolIf()=0;
       
    47 	};
       
    48 
       
    49 #endif // MRAWIPNIFOBSERVERBASE_H__