servicediscoveryandcontrol/pnp/test/upnp/Client/upnpplugin/inc/cupnpregisternotify.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 #ifndef __CUPNPREGISTERNOTIFY_H_
       
    17 #define __CUPNPREGISTERNOTIFY_H_
       
    18 #include <e32base.h>
       
    19 
       
    20 #include <mpnpobserver.h>
       
    21 #include "cupnpelementarray.h"
       
    22 
       
    23 /* Used to register for specific advertisements
       
    24  @internalComponent
       
    25  */
       
    26 
       
    27 class CUPnPRegisterNotify : public CBase
       
    28 {
       
    29 public:
       
    30 	void SubmitRequestL(const RPnPParameterBundle& aServiceInfo);
       
    31 	void NotifyResultsL(TUint32 aFamily, RPnPParameterBundleBase& aBundle);
       
    32 	~CUPnPRegisterNotify();
       
    33 	void CancelNotifyAnnouncementL( const RPnPParameterBundle& aServiceInfo );
       
    34 	CUPnPRegisterNotify(RSubConnection& aSubConnection );
       
    35 private:
       
    36 	RSubConnection& 	iSubConnection;
       
    37 	CUPnPElementArray* 	iElementArray;
       
    38 
       
    39 };
       
    40 #endif /*CUPNPREGISTERNOTIFY_H_*/