/***************************************************************************
 *                          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 IImportExportService
 *--------------------------------------------------------------------------
 * @created: Friday, April 09, 2004 12:00:00
 */

#if !defined(IImportExportService_h_included)
#define IImportExportService_h_included
//forward declaration of this class might require
namespace services
{ class IImportExportService; };
#include <zmodeler.h>
#include <core/coreTypes.h>
#include <services/zmServices.h>
#include <services/IService.h>
#include <core/io/IImportExportFilter.h>


namespace services
{
  
  class IImportExportService : public services::IService
  {
  public:
    /* Adds filter to the service. if bHold set to false, filter is not held by service and loaded
     * when required only. */
    virtual ZRESULT addFilter(core::io::IImportExportFilter* pFilter, bool bHold=true)=0;
    virtual ZRESULT removeFilterActivity(LPCTSTR pszClassName)=0;
    virtual ZRESULT getImportMask(ZString& strMask)=0;
    virtual ZRESULT getExportMask(ZString& strMask)=0;
  
  };//class IImportExportService
};//services

#endif
