X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Plugin.h;h=3b9de25ef6941f1ec63831c3a2aec82e8c0b0c03;hb=3b741a32c4706a6a78906aa6b12ef85628277037;hp=a02ef822c85e1bbdc88de7c458dc031c84aa2ca6;hpb=7bf19255421b34594c7b0a76d0ce28166d0ce895;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Plugin.h b/src/SketchPlugin/SketchPlugin_Plugin.h index a02ef822c..3b9de25ef 100644 --- a/src/SketchPlugin/SketchPlugin_Plugin.h +++ b/src/SketchPlugin/SketchPlugin_Plugin.h @@ -13,9 +13,13 @@ #include #include +/**\class SketchPlugin_Plugin + * \ingroup Plugins + * \brief Interface common for any plugin: allows to use plugin by the plugins manager. + */ class SKETCHPLUGIN_EXPORT SketchPlugin_Plugin : public ModelAPI_Plugin, public Events_Listener { - public: +public: /// Creates the feature object of this plugin by the feature string ID virtual FeaturePtr createFeature(std::string theFeatureID); @@ -23,7 +27,8 @@ class SKETCHPLUGIN_EXPORT SketchPlugin_Plugin : public ModelAPI_Plugin, public E SketchPlugin_Plugin(); //! Redefinition of Events_Listener method virtual void processEvent(const std::shared_ptr& theMessage); - protected: +protected: + //! Returns the state of the feature in the WorkBench: enabled or disabled for the moment. std::shared_ptr getFeaturesState( const std::shared_ptr& theFeature) const; };