servicediscoveryandcontrol/pnp/test/upnp/SocketHandler/inc/csocketopener.h
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 // Copyright (c) 2008-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 // Insert comment here
       
    15 // @file
       
    16 // @internalAll
       
    17 // 
       
    18 //
       
    19 
       
    20 #ifndef __CSOCKETOPENER_H__
       
    21 #define __CSOCKETOPENER_H__
       
    22 
       
    23 // System includes
       
    24 #include <e32base.h>
       
    25 
       
    26 // Forward class references.
       
    27 class CSocketHandler;
       
    28 class MSocketHandlerObserver;
       
    29 
       
    30 class CSocketOpener : public CBase
       
    31 	{
       
    32 	public:
       
    33 		IMPORT_C static CSocketOpener* NewL ( MSocketHandlerObserver& aObserver );
       
    34 //		IMPORT_C void MakeSocket ( const TDesC& aName );
       
    35 		IMPORT_C void MakeSocket ( TUint aAddrFamily,  TUint aSockType, TUint aProtocol );       
       
    36 		IMPORT_C ~CSocketOpener ();
       
    37 
       
    38 	private:
       
    39 		CSocketOpener ();
       
    40 		void ConstructL ( MSocketHandlerObserver& aObserver );
       
    41 
       
    42 	private:
       
    43 		CSocketHandler* iHandler;
       
    44 	};
       
    45 
       
    46 
       
    47 #endif // __SOCKETOPENER_H__