plugins/networking/winsockprt/inc/wsp_protocolfamily.h
changeset 0 7f656887cf89
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 // wsp_protocolfamily.h
       
     2 // 
       
     3 // Copyright (c) 2002 - 2010 Accenture. All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of the "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 // Accenture - Initial contribution
       
    11 //
       
    12 
       
    13 #ifndef __WSP_PROTOCOLFAMILY_H__
       
    14 #define __WSP_PROTOCOLFAMILY_H__
       
    15 
       
    16 #include <es_prot.h>
       
    17 #include "wsp_factory.h"
       
    18 
       
    19 
       
    20 class CWinSockProtocolFamily : public CProtocolFamilyBase
       
    21 	{
       
    22 public:
       
    23 	~CWinSockProtocolFamily();	
       
    24 	static CWinSockProtocolFamily* NewL();
       
    25 	TInt Install();
       
    26 	CProtocolBase* NewProtocolL(TUint aSockType,TUint aProtocol);
       
    27 	TUint ProtocolList(TServerProtocolDesc*& aProtocolList);
       
    28 private:
       
    29 	CWinSockProtocolFamily();
       
    30 	TBool RealTcpipActiveL() const;
       
    31 private:
       
    32 	RWin32Factory* iWin32Factory;
       
    33 	};
       
    34 
       
    35 
       
    36 #endif // __WSP_PROTOCOLFAMILY_H__