diff -r 000000000000 -r e35f40988205 xml/xmlfw/inc/contentprocessor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml/xmlfw/inc/contentprocessor.h Thu Dec 17 09:29:21 2009 +0200 @@ -0,0 +1,57 @@ +// 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 "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Plugin interface +// +// + +#ifndef __CONTENTPROCESSOR_H__ +#define __CONTENTPROCESSOR_H__ + +#include +#include + +namespace Xml +{ + +class MContentProcessor : public MContentHandler, public MContentSource +/** +This interface class provides an interface to plugins of the xml framework wishing +to receive and pass on data as part of a chain of plugins. +This class is not used directly, but via a derived class the user provides. +This will allow it to receive data, and pass data onto +other MContentProcessor derivations. Examples of such classes include Validator's and +AutoCorrector's. +@see MContentHandler +@see ECom + + +@publishedPartner +@released +*/ + { +public: + +/** +This method allows for the correct destrution of the plugin. + +@post the objects memory is cleaned up. + +*/ + virtual void Release() = 0; + + }; + +} + +#endif //__CONTENTPROCESSOR_H__