Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
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
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Interface class describing class that may be used as
15 * output stream for dom tree
25 #ifndef XMLENGINE_MOUTPUTSTREAM_H_INCLUDED
26 #define XMLENGINE_MOUTPUTSTREAM_H_INCLUDED
33 * MXmlEngOutputStream is used by XML Engine to write serialized XML data
34 * to stream. This interface should be implemented by client application
35 * when RXmlEngDocument::SaveL() method is used to serialize xml data to stream.
37 * @lib XmlEngineDOM.lib
40 class MXmlEngOutputStream
44 * Callback for writing a buffer with data to output stream
47 * @return number of bytes written or -1 in case of error
49 virtual TInt Write(const TDesC8& aBuffer) = 0;
52 * Callback for closing output stream
59 virtual TInt Close() = 0;
64 #endif /* XMLENGINE_MOUTPUTSTREAM_H_INCLUDED */