X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetValueFeature.h;h=d11a6bfd9fd44f48eb5da343e32749852d28caf8;hb=32e205a228d74cdc2627143cb32360e9a557d7dc;hp=2de332108f08e3186498abd6d2cab38e70a46d50;hpb=3985b767e74385e51d1b503d2c97d3bb1e3f6faa;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetValueFeature.h b/src/ModuleBase/ModuleBase_WidgetValueFeature.h index 2de332108..d11a6bfd9 100644 --- a/src/ModuleBase/ModuleBase_WidgetValueFeature.h +++ b/src/ModuleBase/ModuleBase_WidgetValueFeature.h @@ -10,7 +10,7 @@ #include -#include +#include class GeomAPI_Pnt2d; @@ -18,33 +18,33 @@ 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 std::shared_ptr& thePoint); /// Returns the widget point /// \return the current point - const boost::shared_ptr& point() const; + MODULEBASE_EXPORT const std::shared_ptr& point() const; -private: - ResultPtr myResult; - boost::shared_ptr myPoint; + private: + ObjectPtr myResult; + std::shared_ptr myPoint; }; #endif