Salome HOME
Optimization of the widget code
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_RevolutionCut.h
index 3c1340262ba1a953287a3c004394cbad385cccef..d63073c9f6e53af22639c98537a46b4883168ffc 100644 (file)
@@ -7,16 +7,18 @@
 #ifndef FeaturesPlugin_RevolutionCut_H_
 #define FeaturesPlugin_RevolutionCut_H_
 
-#include <FeaturesPlugin_RevolutionBoolean.h>
+#include "FeaturesPlugin_RevolutionBoolean.h"
 
-/** \class FeaturesPlugin_RevolutionCut
- *  \ingroup Plugins
- *  \brief This feature allows to create sketch, revol faces from this sketch and
- *         cut result from other objects in a single operation.
- */
+/// \class FeaturesPlugin_RevolutionCut
+/// \ingroup Plugins
+/// \brief This feature allows to create sketch, revol faces from this sketch and
+///        cut result from other objects in a single operation.
 class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean
 {
- public:
+public:
+  /// Use plugin manager for features creation.
+  FeaturesPlugin_RevolutionCut();
+
   /// Feature kind.
   inline static const std::string& ID()
   {
@@ -31,8 +33,8 @@ class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean
     return MY_KIND;
   }
 
-  /// Use plugin manager for features creation.
-  FeaturesPlugin_RevolutionCut();
+  /// Creates a new part document if needed.
+  FEATURESPLUGIN_EXPORT virtual void execute();
 };
 
 #endif