servicediscoveryandcontrol/pnp/test/upnp/Client/upnpplugin/inc/upnpsubconnevents.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 //
       
    15 
       
    16 
       
    17 #ifndef __UPNPSUBCONNEVENTS_H__
       
    18 #define __UPNPSUBCONNEVENTS_H__
       
    19 
       
    20 #include <es_sock.h>
       
    21 
       
    22 // UID for UPnP Sub Connection Events Family
       
    23 const TInt KUPnPSubConnEventsUid = 0x2000D05F;
       
    24 const TUint32 KUPnPSubConnEvent =  0x1;
       
    25 
       
    26 class CUPnPSubConnEvent : public CSubConNotificationEvent
       
    27 	{
       
    28 	public:
       
    29 		inline static CUPnPSubConnEvent* NewL();
       
    30 		inline TUint32 GetFamily() const;
       
    31 		inline void SetFamily(TUint32 aFamily);	
       
    32 		inline static void CleanupSubConnEvent( TAny* aAny );
       
    33 	private:			
       
    34 		TUint32 iFamilyId;
       
    35 	protected:
       
    36 		DATA_VTABLE
       
    37 	};
       
    38 
       
    39 #include "upnpsubconnevents.inl"
       
    40 
       
    41 #endif // __UPNPSUBCONNEVENTS_H__