/***************************************************************************
 *                          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 IUndoBlock
 *--------------------------------------------------------------------------
 * @created: Friday, February 20, 2004 13:35:56
 */

#if !defined(IUndoBlock_h_included)
#define IUndoBlock_h_included
//forward declaration of this class might require
namespace core
{ namespace undo
  { class IUndoBlock; }; };
#include <zmodeler.h>
#include <core/undo/undoTypes.h>
#include <core/IProcParams.h>


namespace core
{
  namespace undo
  {
    
    class IUndoBlock : public ZUnknown
    {
    public:
      virtual ZRESULT applyBlock(core::IProcParams* pParams, ZBlackBox* pBox=NULL)=0;
      virtual ZRESULT getMode(eUndoBlockMode& mode)=0;
    
    };//class IUndoBlock
  };//undo
};//core

#endif
