syncmlfw/common/wbxml/inc/devinf/WBXMLDevInfGenerator.h
changeset 0 b497e44ab2fc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syncmlfw/common/wbxml/inc/devinf/WBXMLDevInfGenerator.h	Thu Dec 17 09:07:52 2009 +0200
@@ -0,0 +1,73 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Device Information document generator class.
+*
+*/
+
+
+#ifndef __WBXMLDEVINFGENERATOR_H__
+#define __WBXMLDEVINFGENERATOR_H__
+
+// ------------------------------------------------------------------------------------------------
+// Includes
+// ------------------------------------------------------------------------------------------------
+
+#include "WBXMLGenerator.h"
+
+// ------------------------------------------------------------------------------------------------
+// Toolkit includes
+// ------------------------------------------------------------------------------------------------
+#include "smldef.h"
+#include "smldtd.h"
+#include "smldevinfdtd.h"
+
+
+// ------------------------------------------------------------------------------------------------
+// CNSmlSyncMLGenerator
+// ------------------------------------------------------------------------------------------------
+class CWBXMLDevInfGenerator : public CWBXMLGenerator
+	{
+public:
+	IMPORT_C void CreateWorkspaceL();
+	IMPORT_C Ret_t smlDeviceInfo( SmlDevInfDevInfPtr_t aContent );
+
+private:
+	void AppendPCDataL( TUint8 aElement, SmlPcdataPtr_t aContent );
+	void AppendPCDataListL( TUint8 aElement, SmlPcdataListPtr_t aList );
+	void AppendXmitL( TUint8 aTag, SmlDevInfXmitPtr_t aContent );
+	void AppendXmitListL( TUint8 aTag, SmlDevInfXmitListPtr_t aContent );
+	void AppendExtL( SmlDevInfExtPtr_t aContent );
+	void AppendExtListL( SmlDevInfExtListPtr_t aContent );
+	void AppendFilterCapListL( SmlDevInfFilterCapListPtr_t aContent );
+	void AppendFilterCapL( SmlDevInfFilterCapPtr_t aContent );
+	void AppendSyncCapL( SmlDevInfSyncCapPtr_t aContent );
+	void AppendDSMemL( SmlDevInfDSMemPtr_t aContent );
+	void AppendPropParamL( SmlDevInfPropParamPtr_t aContent);
+	void AppendPropParamListL( SmlDevInfPropParamListPtr_t aContent);
+	void AppendPropertyL( SmlDevInfPropertyPtr_t aContent );
+	void AppendPropertyListL( SmlDevInfPropertyListPtr_t aContent );
+	void AppendCTDataL( TUint8 aTag, SmlDevInfCTDataPtr_t aContent );
+	void AppendCTDataListL( SmlDevInfCTDataListPtr_t aContent );
+	void AppendCTDataPropL( SmlDevInfCTDataPropPtr_t aContent );
+	void AppendCTDataPropListL( SmlDevInfCTDataPropListPtr_t aContent );
+	void AppendCtCapL( SmlDevInfCtCapPtr_t aContent );
+	void AppendCtCapListL( SmlDevInfCtCapListPtr_t aContent );
+	void AppendDatastoreL( SmlDevInfDatastorePtr_t aontent );
+	void AppendDatastoreListL( SmlDevInfDatastoreListPtr_t aContent );
+	void AppendDeviceInfoL( SmlDevInfDevInfPtr_t aContent );
+
+	TInt iVerDtd;
+	};
+
+#endif // __WBXMLDEVINFGENERATOR_H__