/***************************************************************************
 *                          Zanoza Modeler v2.x                            *
 *      This is unpublished propietary source code of Zanoza Software.     *
 *      The copyright notice does not evidence any actual or intended      *
 *                    publication of such source code.                     *
 *                                                                         *
 *                Copyright (c) 2002-2008 Zanoza Software.                 *
 *                                                                         *
 *                        All rights reserved.                             *
 ***************************************************************************
 *--------------------------------------------------------------------------
 * @author:   Oleg Melashenko
 *--------------------------------------------------------------------------
 * @purpose:  Declaration of the class IXMLParseService
 *   Service for parsing XML files.
 *--------------------------------------------------------------------------
 * @created: Wednesday, May 21, 2003 11:29:25
 */

#if !defined(IXMLParseService_h_included)
#define IXMLParseService_h_included
//forward declaration of this class might require
namespace services
{ class IXMLParseService; };
#include <zmodeler.h>
#include <core/coreTypes.h>
#include <services/zmServices.h>
#include <services/IService.h>
#include <core/events/IXMLHandler.h>
#include <core/io/IStream.h>


namespace services
{
  
  class IXMLParseService : public services::IService
  {
  public:
    virtual ZRESULT setHandler(core::events::IXMLHandler* pHandler)=0;
    virtual ZRESULT getHandler(core::events::IXMLHandler** ppHandler)=0;
    virtual ZRESULT parseStream(core::io::IStream* pStream)=0;
  
  };//class IXMLParseService
};//services

#endif
