linklayercontrol/networkinterfacemgr/netcfgext/inc/nifnullconfiguration.h
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 /**
       
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Declares NULL network layer configuration implemented by NIFMAN 
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file NIFNullConfiguration.h
       
    24  @internalAll
       
    25 */
       
    26 
       
    27 #if !defined (__NIFNULLCONFIGURATION_H__)
       
    28 #define __NIFNULLCONFIGURATION_H__
       
    29 
       
    30 #include <e32base.h>
       
    31 #include <comms-infras/ss_log.h>
       
    32 #include <comms-infras/commsdebugutility.h>
       
    33 #include "nifconfigurationcontrol.h"
       
    34 
       
    35 #ifdef __CFLOG_ACTIVE
       
    36 _LIT8(KNullConfigSubTag, "NifNullConfig");
       
    37 #endif
       
    38 
       
    39 class MNifIfNotify;
       
    40 /**
       
    41  NULL configuration meaning no special steps need to be taken to configure network layer
       
    42  @internalAll
       
    43  @version 0.03
       
    44  @date	26/05/2004
       
    45 **/
       
    46 NONSHARABLE_CLASS(CNifNullConfiguration) : public CNifConfigurationControl
       
    47 {
       
    48    friend class CNifConfigurationControl;
       
    49 
       
    50    ~CNifNullConfiguration();
       
    51    
       
    52 protected:
       
    53    CNifNullConfiguration( MNifIfNotify& aNifIfNotify );
       
    54 
       
    55 public:
       
    56    virtual void ConfigureNetworkL();
       
    57    virtual void LinkLayerDown();
       
    58    virtual void LinkLayerUp();
       
    59    virtual void Deregister(TInt aCause);
       
    60    virtual void SendIoctlMessageL(const ESock::RLegacyResponseMsg& aMessage);
       
    61    virtual void CancelControl();
       
    62    virtual void AsyncDelete();
       
    63 	virtual void EventNotification(TNetworkAdaptorEventType aEventType, TUint aEvent, const TDesC8& aEventData, TAny* aSource);
       
    64 
       
    65 protected:
       
    66    virtual void RunL();
       
    67    virtual void DoCancel();
       
    68 
       
    69    __FLOG_DECLARATION_MEMBER;
       
    70 };
       
    71 
       
    72 inline CNifNullConfiguration::CNifNullConfiguration( MNifIfNotify& aNifIfNotify ) :
       
    73    CNifConfigurationControl( aNifIfNotify )
       
    74 /**
       
    75  CNifNullConfiguration - constructor
       
    76  @internalAll
       
    77  @param aNifIfNotify - client of the control
       
    78  @version 0.01
       
    79 **/
       
    80 	{
       
    81 	__FLOG_OPEN(KESockSubConnectionTag, KNullConfigSubTag);
       
    82 	}
       
    83 
       
    84 inline CNifNullConfiguration::~CNifNullConfiguration()
       
    85 	{
       
    86 	__FLOG_CLOSE;
       
    87 	}
       
    88 	
       
    89 #endif
       
    90 
       
    91