epoc32/include/xml/plugins/parserinterface.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/xml/plugins/parserinterface.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,55 +0,0 @@
     1.4 -// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// 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.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -
    1.20 -#ifndef __PARSERINTERFACE_H__
    1.21 -#define __PARSERINTERFACE_H__
    1.22 -
    1.23 -/** 
    1.24 -@file
    1.25 -@publishedPartner
    1.26 -@released
    1.27 -*/
    1.28 -
    1.29 -#include <e32std.h>
    1.30 -#include <xml/contentsource.h>
    1.31 -
    1.32 -namespace Xml
    1.33 -{
    1.34 -
    1.35 -/** A parser ECOM plugin for the XML Framework must implement this interface. */
    1.36 -class MParser : public MContentSource
    1.37 -	{
    1.38 -public:
    1.39 -	/** Enable a feature. */
    1.40 -	virtual TInt EnableFeature(TInt aParserFeature) = 0;
    1.41 -	/** Disable a feature. */
    1.42 -	virtual TInt DisableFeature(TInt aParserFeature) = 0;
    1.43 -	/** See if a feature is enabled. */
    1.44 -	virtual TBool IsFeatureEnabled(TInt aParserFeature) const = 0;
    1.45 -
    1.46 -	/** Parses a descriptor that contains part of a document. */
    1.47 -	virtual void ParseChunkL(const TDesC8& aChunk) = 0;
    1.48 -
    1.49 -	/** Parses a descriptor that contains the last  part of a document. */
    1.50 -	virtual void ParseLastChunkL(const TDesC8& aFinalChunk) = 0;
    1.51 -
    1.52 -	/** Interfaces don't have a destructor, so we have an explicit method instead. */
    1.53 -	virtual void Release() = 0;
    1.54 -	};
    1.55 -
    1.56 -}
    1.57 -
    1.58 -#endif //__PARSERINTERFACE_H__