Salome HOME
Merge remote-tracking branch 'origin/cgt/devCEA'
[modules/shaper.git] / src / PartSetPlugin / PartSetPlugin_Plugin.h
index 364ebb48dfbf4f12e2fbd571930136890e3c3b0b..b86081714620880e32efebb29a717a0899a61040 100644 (file)
 
 #include <memory>
 
-class PARTSETPLUGIN_EXPORT PartSetPlugin_Plugin : public ModelAPI_Plugin,
+/**\class PartSetPlugin_Plugin
+ * \ingroup Plugins
+ * \brief The main class for management the part set operations as 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<Events_Message>& theMessage);
-  std::shared_ptr<ModelAPI_FeatureStateMessage> getFeaturesState();
+  PARTSETPLUGIN_EXPORT virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage);
+  //! Performs the chenges of enabled/disabled state in the toolbar
+  //! due to the current state of the application.
+  PARTSETPLUGIN_EXPORT std::shared_ptr<ModelAPI_FeatureStateMessage> getFeaturesState();
 };
 
 #endif