servicediscoveryandcontrol/pnp/test/upnp/Client/pnp/inc/cpnpservicepublisherbase.h
equal
deleted
inserted
replaced
|
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 __CPNPSERVICEPUBLISHERBASE_H_ |
|
17 #define __CPNPSERVICEPUBLISHERBASE_H_ |
|
18 |
|
19 #include <rcontrolchannel.h> |
|
20 #include <pnpparameterbundle.h> |
|
21 |
|
22 class CPnPServicePublisherBase : public CBase |
|
23 { |
|
24 public: |
|
25 static CPnPServicePublisherBase* NewL( TUint aTierId ); |
|
26 IMPORT_C virtual ~CPnPServicePublisherBase(); |
|
27 |
|
28 virtual TInt Construct( TUint aTierId) = 0; |
|
29 virtual void Publish ( const RPnPParameterBundle& aServiceInfo ) = 0; |
|
30 virtual void SendNotify ( const RPnPParameterBundle& aServiceInfo ) = 0; |
|
31 virtual TInt InitiateControl ( RControlChannel& aControlChannel ) = 0; |
|
32 |
|
33 |
|
34 protected: |
|
35 IMPORT_C CPnPServicePublisherBase(); |
|
36 |
|
37 private: |
|
38 TUid iEcomDtorID; |
|
39 |
|
40 }; |
|
41 |
|
42 #endif |