servicediscoveryandcontrol/pnp/test/upnp/unittests/tcpserver/inc/protocolfamily.h
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 /*
       
     2 * Copyright (c) 2008 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 *
       
    16 */
       
    17 
       
    18 
       
    19 #if !defined(__PROTOCOLFAMILY_H__)
       
    20 #define __PROTOCOLFAMILY_H__
       
    21 
       
    22 #include "es_ptest.h"
       
    23 #include <es_prot.h>
       
    24 #include <comms-infras/nifif.h>
       
    25 #include <dns_qry.h>
       
    26 
       
    27 //---------------------------------------------------------------------------------------------------------
       
    28 
       
    29 NONSHARABLE_CLASS(CTestIntSocketProtocolFamily): public CProtocolFamilyBase
       
    30 	{
       
    31 private:
       
    32 	CTestIntSocketProtocolFamily();	
       
    33 public:
       
    34 	static CTestIntSocketProtocolFamily * NewL();
       
    35 	void ConstructL();
       
    36 	TInt Install();
       
    37 	TInt Remove();
       
    38 	CProtocolBase * NewProtocolL(TUint aSockType,TUint aProtocol);
       
    39 	TUint ProtocolList(TServerProtocolDesc *& aProtocolList);
       
    40 private:
       
    41 	void Construct();
       
    42 private:
       
    43 	TServerProtocolDesc iProtocolDescs[1];
       
    44 	};
       
    45 
       
    46 #endif //__PROTOCOLFAMILY_H__