Salome HOME
Merge branch 'V9_9_BR'
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_BooleanSmash.h
index a6e1bbc52e557b133932bf8cbd8fb5a9646bf737..a59db43d0a5a228c01c2199776565759d36caf12 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022  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_BooleanSmash(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
 BooleanSmashPtr addSmash(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_BooleanSmash_H_