/***************************************************************************
 *                          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 IInteractiveTool
 *--------------------------------------------------------------------------
 * @created: Thursday, July 31, 2003 13:32:20
 */

#if !defined(IInteractiveTool_h_included)
#define IInteractiveTool_h_included
//forward declaration of this class might require
namespace core
{ namespace tools
  { class IInteractiveTool; }; };
#include <zmodeler.h>
#include <core/tools/toolTypes.h>
#include <core/tools/ITool.h>
#include <core/IProcParams.h>


namespace core
{
  namespace tools
  {
    
    class IInteractiveTool : public core::tools::ITool
    {
    public:
      virtual ZRESULT mouseDown(core::IProcParams* pProcParams, DWORD nFlags, DWORD& nRetFlags)=0;
      virtual ZRESULT mouseMove(core::IProcParams* pProcParams, ZPoint ptOffset, DWORD nFlags, DWORD& nRetFlags)=0;
      virtual ZRESULT mouseUp(core::IProcParams* pProcParams, DWORD nFlags, DWORD& nRetFlags)=0;
      virtual ZRESULT mouseWheel(core::IProcParams* pProcParams, DWORD nFlags, short zDelta, DWORD& nRetFlags)=0;
      virtual ZRESULT interrupt(core::IProcParams* pProcParams, DWORD& nRetFlags)=0;
    
    };//class IInteractiveTool
  };//tools
};//core

#endif
