Salome HOME
Merge branch 'master' into cgt/devCEA
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_RevolutionFuse.h
index 75f16aa67e1818136e47659aad86e9dcdaf0aea7..32fc8a6ec75be98141aed0502bfcb8e9a8119ed3 100644 (file)
@@ -7,17 +7,19 @@
 #ifndef FeaturesPlugin_RevolutionFuse_H_
 #define FeaturesPlugin_RevolutionFuse_H_
 
-#include <FeaturesPlugin_RevolutionBoolean.h>
+#include "FeaturesPlugin_RevolutionBoolean.h"
 
-/** \class FeaturesPlugin_RevolutionFuse
- *  \ingroup Plugins
- *  \brief This feature allows to create sketch, revol faces from this sketch and
- *         fuse result with other objects in a single operation.
- */
+/// \class FeaturesPlugin_RevolutionFuse
+/// \ingroup Plugins
+/// \brief This feature allows to create sketch, revol faces from this sketch and
+///        fuse result with other objects in a single operation.
 class FeaturesPlugin_RevolutionFuse : public FeaturesPlugin_RevolutionBoolean
 {
  public:
-  /// Feature kind.
+  /// Use plugin manager for features creation.
+  FeaturesPlugin_RevolutionFuse();
+
+   /// Feature kind.
   inline static const std::string& ID()
   {
     static const std::string MY_REVOLUTION_ID("RevolutionFuse");
@@ -31,8 +33,8 @@ class FeaturesPlugin_RevolutionFuse : public FeaturesPlugin_RevolutionBoolean
     return MY_KIND;
   }
 
-  /// Use plugin manager for features creation.
-  FeaturesPlugin_RevolutionFuse();
+  /// Creates a new part document if needed.
+  FEATURESPLUGIN_EXPORT virtual void execute();
 };
 
 #endif