epoc32/include/xmlengoutputstream.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/xmlengoutputstream.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,64 +0,0 @@
     1.4 -/*
     1.5 -* Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies). 
     1.6 -* All rights reserved.
     1.7 -* This component and the accompanying materials are made available
     1.8 -* 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.9 -* which accompanies this distribution, and is available
    1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 -*
    1.12 -* Initial Contributors:
    1.13 -* Nokia Corporation - initial contribution.
    1.14 -*
    1.15 -* Contributors:
    1.16 -*
    1.17 -* Description:       Interface class describing class that may be used as
    1.18 -*                 output stream for dom tree
    1.19 -*
    1.20 -*/
    1.21 -
    1.22 -
    1.23 -
    1.24 -
    1.25 -
    1.26 -
    1.27 -
    1.28 -#ifndef XMLENGINE_MOUTPUTSTREAM_H_INCLUDED
    1.29 -#define XMLENGINE_MOUTPUTSTREAM_H_INCLUDED
    1.30 -
    1.31 -#include <e32base.h>
    1.32 -
    1.33 -
    1.34 -
    1.35 -/**
    1.36 - * MXmlEngOutputStream is used by XML Engine to write serialized XML data
    1.37 - * to stream. This interface should be implemented by client application
    1.38 - * when RXmlEngDocument::SaveL() method is used to serialize xml data to stream.
    1.39 - *
    1.40 - * @lib XmlEngineDOM.lib
    1.41 - * @since S60 v3.1
    1.42 - */
    1.43 -class MXmlEngOutputStream
    1.44 -    {
    1.45 -public:
    1.46 -    /**
    1.47 -     * Callback for writing a buffer with data to output stream
    1.48 -     *
    1.49 -     * @since S60 v3.1
    1.50 -     * @return number of bytes written or -1 in case of error
    1.51 -     */
    1.52 -    virtual TInt Write(const TDesC8& aBuffer) = 0;
    1.53 -
    1.54 -    /**
    1.55 -     * Callback for closing output stream
    1.56 -     *
    1.57 -     * @since S60 v3.1
    1.58 -     * @return 
    1.59 -     *       0 is succeeded, 
    1.60 -     *      -1 in case of error
    1.61 -     */
    1.62 -    virtual TInt Close() = 0;
    1.63 -    };
    1.64 -
    1.65 -
    1.66 -
    1.67 -#endif /* XMLENGINE_MOUTPUTSTREAM_H_INCLUDED */