Salome HOME
CEA : Lot 2 - Auto Color for Groups
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_BooleanCut.h
index b7d113aac7ff2a4b275ba0071addc290a85f474e..c238a1684b5a2b026a4a4014fbf4b998b6462d91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -44,8 +44,7 @@ public:
   FEATURESAPI_EXPORT
   FeaturesAPI_BooleanCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
                          const std::list<ModelHighAPI_Selection>& theMainObjects,
-                         const std::list<ModelHighAPI_Selection>& theToolObjects,
-                         const int theVersion = 0);
+                         const std::list<ModelHighAPI_Selection>& theToolObjects);
 
   /// Destructor.
   FEATURESAPI_EXPORT
@@ -79,6 +78,6 @@ FEATURESAPI_EXPORT
 BooleanCutPtr addCut(const std::shared_ptr<ModelAPI_Document>& thePart,
                      const std::list<ModelHighAPI_Selection>& theMainObjects,
                      const std::list<ModelHighAPI_Selection>& theToolObjects,
-                     const int theVersion = 0);
+                     const bool keepSubResults = false);
 
 #endif // FeaturesAPI_BooleanCut_H_