1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/xml/contentprocessor.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,57 @@
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 +// Plugin interface
1.18 +//
1.19 +//
1.20 +
1.21 +#ifndef __CONTENTPROCESSOR_H__
1.22 +#define __CONTENTPROCESSOR_H__
1.23 +
1.24 +#include <xml/contenthandler.h>
1.25 +#include <xml/contentsource.h>
1.26 +
1.27 +namespace Xml
1.28 +{
1.29 +
1.30 +class MContentProcessor : public MContentHandler, public MContentSource
1.31 +/**
1.32 +This interface class provides an interface to plugins of the xml framework wishing
1.33 +to receive and pass on data as part of a chain of plugins.
1.34 +This class is not used directly, but via a derived class the user provides.
1.35 +This will allow it to receive data, and pass data onto
1.36 +other MContentProcessor derivations. Examples of such classes include Validator's and
1.37 +AutoCorrector's.
1.38 +@see MContentHandler
1.39 +@see ECom
1.40 +
1.41 +
1.42 +@publishedPartner
1.43 +@released
1.44 +*/
1.45 + {
1.46 +public:
1.47 +
1.48 +/**
1.49 +This method allows for the correct destrution of the plugin.
1.50 +
1.51 +@post the objects memory is cleaned up.
1.52 +
1.53 +*/
1.54 + virtual void Release() = 0;
1.55 +
1.56 + };
1.57 +
1.58 +}
1.59 +
1.60 +#endif //__CONTENTPROCESSOR_H__