/***************************************************************************
 *                          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 ISpinControl
 *--------------------------------------------------------------------------
 * @created: Wednesday, September 10, 2003 18:21:24
 */

#if !defined(ISpinControl_h_included)
#define ISpinControl_h_included
//forward declaration of this class might require
namespace core
{ namespace ui
  { namespace controls
    { class ISpinControl; }; }; };
#include <zmodeler.h>
#include <core/ui/controls/uiControls.h>
#include <core/ui/controls/INumericInputControl.h>


namespace core
{
  namespace ui
  {
    namespace controls
    {
      
      class ISpinControl : public core::ui::controls::INumericInputControl
      {
      public:
        virtual ZRESULT setPrecision(long nPower)=0;
        virtual ZRESULT getPrecision(long& nPower)=0;
      
      };//class ISpinControl
    };//controls
  };//ui
};//core

#endif
