|
1 /* |
|
2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: XML device information DTD generator |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __XMLDEVINFGENERATOR_H__ |
|
20 #define __XMLDEVINFGENERATOR_H__ |
|
21 |
|
22 // ------------------------------------------------------------------------------------------------ |
|
23 // Includes |
|
24 // ------------------------------------------------------------------------------------------------ |
|
25 |
|
26 #include "XMLGenerator.h" |
|
27 |
|
28 // ------------------------------------------------------------------------------------------------ |
|
29 // Toolkit includes |
|
30 // ------------------------------------------------------------------------------------------------ |
|
31 #include "smldef.h" |
|
32 #include "smldtd.h" |
|
33 #include "smldevinfdtd.h" |
|
34 |
|
35 // ------------------------------------------------------------------------------------------------ |
|
36 // CNSmlSyncMLGenerator |
|
37 // ------------------------------------------------------------------------------------------------ |
|
38 class CXMLDevInfGenerator : public CXMLGenerator |
|
39 { |
|
40 public: |
|
41 IMPORT_C void CreateWorkspaceL(); |
|
42 IMPORT_C Ret_t smlDeviceInfo( SmlDevInfDevInfPtr_t aContent ); |
|
43 IMPORT_C void InitializeL(); |
|
44 |
|
45 protected: |
|
46 void AppendPCDataL( TUint8 aElement, SmlPcdataPtr_t aContent ); |
|
47 void AppendPCDataListL( TUint8 aElement, SmlPcdataListPtr_t aList ); |
|
48 void AppendXmitL( TUint8 aTag, SmlDevInfXmitPtr_t aContent ); |
|
49 void AppendXmitListL( TUint8 aTag, SmlDevInfXmitListPtr_t aContent ); |
|
50 void AppendExtL( SmlDevInfExtPtr_t aContent ); |
|
51 void AppendExtListL( SmlDevInfExtListPtr_t aContent ); |
|
52 void AppendFilterCapListL( SmlDevInfFilterCapListPtr_t aContent ); |
|
53 void AppendFilterCapL( SmlDevInfFilterCapPtr_t aContent ); |
|
54 void AppendSyncCapL( SmlDevInfSyncCapPtr_t aContent ); |
|
55 void AppendDSMemL( SmlDevInfDSMemPtr_t aContent ); |
|
56 void AppendPropParamL( SmlDevInfPropParamPtr_t aContent); |
|
57 void AppendPropParamListL( SmlDevInfPropParamListPtr_t aContent); |
|
58 void AppendPropertyL( SmlDevInfPropertyPtr_t aContent ); |
|
59 void AppendPropertyListL( SmlDevInfPropertyListPtr_t aContent ); |
|
60 void AppendCTDataL( TUint8 aTag, SmlDevInfCTDataPtr_t aContent ); |
|
61 void AppendCTDataListL( SmlDevInfCTDataListPtr_t aContent ); |
|
62 void AppendCTDataPropL( SmlDevInfCTDataPropPtr_t aContent ); |
|
63 void AppendCTDataPropListL( SmlDevInfCTDataPropListPtr_t aContent ); |
|
64 void AppendCtCapL( SmlDevInfCtCapPtr_t aContent ); |
|
65 void AppendCtCapListL( SmlDevInfCtCapListPtr_t aContent ); |
|
66 void AppendDatastoreL( SmlDevInfDatastorePtr_t aontent ); |
|
67 void AppendDatastoreListL( SmlDevInfDatastoreListPtr_t aContent ); |
|
68 void AppendDeviceInfoL( SmlDevInfDevInfPtr_t aContent ); |
|
69 |
|
70 TInt iVerDtd; |
|
71 |
|
72 private: |
|
73 }; |
|
74 |
|
75 #endif // __XMLDEVINFGENERATOR_H__ |