1.1 --- a/epoc32/include/xmlengdomimplementation.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/xmlengdomimplementation.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,70 @@
1.4 -xmlengdomimplementation.h
1.5 +/*
1.6 +* Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: DOM implementation functions
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +
1.24 +
1.25 +
1.26 +
1.27 +
1.28 +#ifndef XMLENGINE_DOMIMPLEMENTATION_H_INCLUDED
1.29 +#define XMLENGINE_DOMIMPLEMENTATION_H_INCLUDED
1.30 +
1.31 +#include <e32base.h>
1.32 +
1.33 +/**
1.34 + * The RXmlEngDOMImplementation interface provides a number of methods for performing
1.35 + * operations that are independent of any particular instance of the document object model.
1.36 + *
1.37 + * http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-102161490
1.38 + *
1.39 + * @lib XmlEngineDOM.lib
1.40 + * @since S60 v3.1
1.41 + */
1.42 +class RXmlEngDOMImplementation
1.43 +{
1.44 + public:
1.45 +
1.46 +
1.47 + /**
1.48 + * Open method needed to initialize the XmlEngineDOM library and should be called before using any
1.49 + * class/function from this library. The initialization is required in every client thread in which
1.50 + * it used. Calling this method multiple times in a thread is allowed. There should be a call to Close()
1.51 + * for every call to Open, per thread.
1.52 + *
1.53 + * @since S60 v3.2
1.54 + * @param aHeap - pointer to client created heap. If aHeap argument is NULL (by default)
1.55 + * client thread's default heap is used.- NOT IMPLEMENTED YET
1.56 + * @return Document handle
1.57 + */
1.58 + IMPORT_C void OpenL( RHeap* aHeap = NULL );
1.59 +
1.60 + /**
1.61 + * Close method. It does cleanup of resources used by XmlengineDOM library. Client should call this
1.62 + * method at the end of library usage. The library should not be used after this call. If needed, client
1.63 + * can initialize the library again by calling Open() method. Libxml2 uses Symbian implementation of POSIX
1.64 + * standard libraries. During closure of XmlEngineDOM library, the standard library is also closed by default.
1.65 + * User can choose not to close standard libraries when XmlEngine shuts down, by specifying FALSE in aCloseStdLib flag.
1.66 + *
1.67 + * @since S60 v3.2
1.68 + * @param aCloseStdLib A flag, if TRUE will close the STDLIB resources belonging to this thread.
1.69 + * else STDLIB is not closed.
1.70 + */
1.71 + IMPORT_C void Close(TBool aCloseStdLib = ETrue);
1.72 +};
1.73 +
1.74 +#endif /* XMLENGINE_DOMIMPLEMENTATION_H_INCLUDED */