diff -r 000000000000 -r af10295192d8 networkcontrol/ipnetworklayer/inc/nif4.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/networkcontrol/ipnetworklayer/inc/nif4.h Tue Jan 26 15:23:49 2010 +0200 @@ -0,0 +1,60 @@ +/** +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* CNifIfBase and CProtocolBase shim layer functionality +* +* +*/ + + + +/** + @file nif.cpp +*/ +#if !defined(NIF4_H_INCLUDED) +#define NIF4_H_INCLUDED + +#include +#include +#include "nif.h" +#include +#include + +class CIPShimIncoming; +class CIPShimSubConnectionFlow; + +class CIPShimIfBase4 : public CIPShimIfBase + { +/** +Class that represents an IP4 NIF to the TCP/IP stack. + +@internalComponent +*/ +public: + static CIPShimIfBase4* NewL(const TDesC8& aProtocolName); + + // IP4/IP6 specific required derivations + virtual void GetConfigFirstTime(); + +protected: + CIPShimIfBase4(const TDesC8& aProtocolName); + + // IP4/IP6 specific required derivations + virtual TInt ServiceInfoControl(TDes8& aOption, TUint aName); + virtual TInt ServiceConfigControl(TDes8& aOption); + +private: + TBinderConfig4 iConfig4; // stored address information from BinderReady() upcall + }; +#endif // NIF4_H_INCLUDED