X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetValueFeature.h;h=53abb591bdbd8e5345c306929bbd88253dbcf0ef;hb=382d93420f7c2a22034b9d74a0d2dbc955e24acb;hp=2de332108f08e3186498abd6d2cab38e70a46d50;hpb=6929ae64e2dec9ba0a969f646c9d0d719da2ee8a;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetValueFeature.h b/src/ModuleBase/ModuleBase_WidgetValueFeature.h index 2de332108..53abb591b 100644 --- a/src/ModuleBase/ModuleBase_WidgetValueFeature.h +++ b/src/ModuleBase/ModuleBase_WidgetValueFeature.h @@ -18,32 +18,32 @@ class GeomAPI_Pnt2d; * \ingroup GUI * \brief Custom widget value. The widget contains a feature and 2D point. */ -class MODULEBASE_EXPORT ModuleBase_WidgetValueFeature : public ModuleBase_WidgetValue +class ModuleBase_WidgetValueFeature : public ModuleBase_WidgetValue { -public: + public: /// Constructor - ModuleBase_WidgetValueFeature(); + MODULEBASE_EXPORT ModuleBase_WidgetValueFeature(); /// Destructor - virtual ~ModuleBase_WidgetValueFeature(); + MODULEBASE_EXPORT virtual ~ModuleBase_WidgetValueFeature(); /// Fill the widget values by given point /// \param thePoint the point - void setResult(const ResultPtr& theFeature); + MODULEBASE_EXPORT void setObject(const ObjectPtr& theFeature); /// Returns the widget values by given point /// \return theFeature the current feature - const ResultPtr& result() const; + MODULEBASE_EXPORT const ObjectPtr& object() const; /// Fill the widget values by given point /// \param thePoint the point - void setPoint(const boost::shared_ptr& thePoint); + MODULEBASE_EXPORT void setPoint(const boost::shared_ptr& thePoint); /// Returns the widget point /// \return the current point - const boost::shared_ptr& point() const; + MODULEBASE_EXPORT const boost::shared_ptr& point() const; -private: - ResultPtr myResult; + private: + ObjectPtr myResult; boost::shared_ptr myPoint; };