X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSetPlugin%2FPartSetPlugin_Plugin.h;h=b86081714620880e32efebb29a717a0899a61040;hb=9dc1fc2ff6f4143369cdb2042a5e01e8e737c635;hp=59ace5aa844925d932003f95b08eb89d41727d25;hpb=88ca95388a92f9bbe96d81bf5b1456ca1179100e;p=modules%2Fshaper.git diff --git a/src/PartSetPlugin/PartSetPlugin_Plugin.h b/src/PartSetPlugin/PartSetPlugin_Plugin.h index 59ace5aa8..b86081714 100644 --- a/src/PartSetPlugin/PartSetPlugin_Plugin.h +++ b/src/PartSetPlugin/PartSetPlugin_Plugin.h @@ -16,23 +16,25 @@ #include -/**\class FeaturesPlugin_Plugin +/**\class PartSetPlugin_Plugin * \ingroup Plugins * \brief The main class for management the part set operations as plugin. */ -class PARTSETPLUGIN_EXPORT PartSetPlugin_Plugin : public ModelAPI_Plugin, +class PartSetPlugin_Plugin : public ModelAPI_Plugin, public Events_Listener { public: /// Creates the feature object of this plugin by the feature string ID - virtual FeaturePtr createFeature(std::string theFeatureID); + PARTSETPLUGIN_EXPORT virtual FeaturePtr createFeature(std::string theFeatureID); /// Is needed for python wrapping by swig - PartSetPlugin_Plugin(); + PARTSETPLUGIN_EXPORT PartSetPlugin_Plugin(); //! Redefinition of Events_Listener method - virtual void processEvent(const std::shared_ptr& theMessage); - std::shared_ptr getFeaturesState(); + PARTSETPLUGIN_EXPORT virtual void processEvent(const std::shared_ptr& theMessage); + //! Performs the chenges of enabled/disabled state in the toolbar + //! due to the current state of the application. + PARTSETPLUGIN_EXPORT std::shared_ptr getFeaturesState(); }; #endif