diff -r e1b950c65cb4 -r 837f303aceeb epoc32/include/xml/plugins/parserinterface.h --- a/epoc32/include/xml/plugins/parserinterface.h Wed Mar 31 12:27:01 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). -// All rights reserved. -// This component and the accompanying materials are made available -// 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 -// which accompanies this distribution, and is available -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - - -#ifndef __PARSERINTERFACE_H__ -#define __PARSERINTERFACE_H__ - -/** -@file -@publishedPartner -@released -*/ - -#include -#include - -namespace Xml -{ - -/** A parser ECOM plugin for the XML Framework must implement this interface. */ -class MParser : public MContentSource - { -public: - /** Enable a feature. */ - virtual TInt EnableFeature(TInt aParserFeature) = 0; - /** Disable a feature. */ - virtual TInt DisableFeature(TInt aParserFeature) = 0; - /** See if a feature is enabled. */ - virtual TBool IsFeatureEnabled(TInt aParserFeature) const = 0; - - /** Parses a descriptor that contains part of a document. */ - virtual void ParseChunkL(const TDesC8& aChunk) = 0; - - /** Parses a descriptor that contains the last part of a document. */ - virtual void ParseLastChunkL(const TDesC8& aFinalChunk) = 0; - - /** Interfaces don't have a destructor, so we have an explicit method instead. */ - virtual void Release() = 0; - }; - -} - -#endif //__PARSERINTERFACE_H__