epoc32/include/xmlengdomimplementation.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
williamr@2
     1
/*
williamr@2
     2
* Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies). 
williamr@2
     3
* All rights reserved.
williamr@2
     4
* This component and the accompanying materials are made available
williamr@2
     5
* 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
williamr@2
     6
* which accompanies this distribution, and is available
williamr@2
     7
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     8
*
williamr@2
     9
* Initial Contributors:
williamr@2
    10
* Nokia Corporation - initial contribution.
williamr@2
    11
*
williamr@2
    12
* Contributors:
williamr@2
    13
*
williamr@2
    14
* Description:       DOM implementation functions
williamr@2
    15
*
williamr@2
    16
*/
williamr@2
    17
williamr@2
    18
williamr@2
    19
williamr@2
    20
williamr@2
    21
williamr@2
    22
williamr@2
    23
williamr@2
    24
#ifndef XMLENGINE_DOMIMPLEMENTATION_H_INCLUDED
williamr@2
    25
#define XMLENGINE_DOMIMPLEMENTATION_H_INCLUDED
williamr@2
    26
williamr@2
    27
#include <e32base.h>
williamr@2
    28
williamr@2
    29
/**
williamr@2
    30
 * The RXmlEngDOMImplementation interface provides a number of methods for performing 
williamr@2
    31
 * operations that are independent of any particular instance of the document object model. 
williamr@2
    32
 *    
williamr@2
    33
 * http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-102161490
williamr@2
    34
 *
williamr@2
    35
 * @lib XmlEngineDOM.lib
williamr@2
    36
 * @since S60 v3.1
williamr@2
    37
 */
williamr@2
    38
class RXmlEngDOMImplementation
williamr@2
    39
{
williamr@2
    40
  public:
williamr@2
    41
    
williamr@2
    42
    
williamr@2
    43
	/**
williamr@2
    44
     * Open method needed to initialize the XmlEngineDOM library and should be called before using any
williamr@2
    45
     * class/function from this library. The initialization is required in every client thread in which
williamr@2
    46
     * it used. Calling this method multiple times in a thread is allowed. There should be a call to Close()
williamr@2
    47
     * for every call to Open, per thread.
williamr@2
    48
     *
williamr@2
    49
     * @since S60 v3.2
williamr@2
    50
     * @param aHeap - pointer to client created heap. If aHeap argument is NULL (by default) 
williamr@2
    51
     *                client thread's default heap is used.- NOT IMPLEMENTED YET
williamr@2
    52
     * @return Document handle
williamr@2
    53
     */
williamr@2
    54
    IMPORT_C void OpenL( RHeap* aHeap = NULL );
williamr@2
    55
williamr@2
    56
    /**
williamr@2
    57
     * Close method. It does cleanup of resources used by XmlengineDOM library. Client should call this
williamr@2
    58
     * method at the end of library usage. The library should not be used after this call. If needed, client
williamr@2
    59
     * can initialize the library again by calling Open() method. Libxml2 uses Symbian implementation of POSIX
williamr@2
    60
     * standard libraries. During closure of XmlEngineDOM library, the standard library is also closed by default.
williamr@2
    61
     * User can choose not to close standard libraries when XmlEngine shuts down, by specifying FALSE in aCloseStdLib flag.
williamr@2
    62
     * 
williamr@2
    63
     * @since S60 v3.2
williamr@2
    64
     * @param aCloseStdLib A flag, if TRUE will close the STDLIB resources belonging to this thread.
williamr@2
    65
     *                     else STDLIB is not closed.
williamr@2
    66
     */
williamr@2
    67
    IMPORT_C void Close(TBool aCloseStdLib = ETrue);
williamr@2
    68
};
williamr@2
    69
williamr@2
    70
#endif /* XMLENGINE_DOMIMPLEMENTATION_H_INCLUDED */