servicediscoveryandcontrol/pnp/test/upnp/upnpdescription/inc/cupnpdescriptioncomposer.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 __CUPNPDESCRIPTIONCOMPOSER_H_ |
|
17 #define __CUPNPDESCRIPTIONCOMPOSER_H_ |
|
18 #include <e32base.h> |
|
19 #include <stringpool.h> |
|
20 class CUPnPServiceXmlComposer; |
|
21 class CUPnPDeviceXmlComposer; |
|
22 class CUPnPDescriptionComposer : public CBase |
|
23 { |
|
24 public: |
|
25 enum TUPnPDescriptionType |
|
26 { |
|
27 EService, |
|
28 EDevice |
|
29 }; |
|
30 public: |
|
31 IMPORT_C static CUPnPDescriptionComposer* NewL( const RStringPool& aStringPool); |
|
32 IMPORT_C void ComposeDescriptionXmlL( TAny* aDescriptionObj , TUPnPDescriptionType aType , RBuf8 &aXmlData ); |
|
33 IMPORT_C ~CUPnPDescriptionComposer(); |
|
34 |
|
35 private: |
|
36 CUPnPDescriptionComposer( const RStringPool& aStringPool ); |
|
37 const RStringPool& iStringPool; |
|
38 CUPnPServiceXmlComposer* iServiceComposer; |
|
39 CUPnPDeviceXmlComposer* iDeviceComposer; |
|
40 }; |
|
41 #endif /*CUPNPDESCRIPTIONCOMPOSER_H_*/ |