X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_BooleanCommon.h;h=66d4e74cdbe266b8c6a324435d3048bbdaa4b2a3;hb=3662ff862dc48b187b48bafe3f3d1bfff5ae7345;hp=3470276b7eea79ac5d15fd3c41d519bbe0bda269;hpb=4cd36b7cc560c928877bcdfbde2d11091bfedd40;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_BooleanCommon.h b/src/FeaturesAPI/FeaturesAPI_BooleanCommon.h index 3470276b7..66d4e74cd 100644 --- a/src/FeaturesAPI/FeaturesAPI_BooleanCommon.h +++ b/src/FeaturesAPI/FeaturesAPI_BooleanCommon.h @@ -87,17 +87,10 @@ typedef std::shared_ptr BooleanCommonPtr; /// \ingroup CPPHighAPI /// \brief Create Boolean Common feature. -FEATURESAPI_EXPORT -BooleanCommonPtr addCommon(const std::shared_ptr& thePart, - const std::list& theMainObjects, - const int theVersion = 0); - -/// \ingroup CPPHighAPI -/// \brief Create Boolean Common feature. -FEATURESAPI_EXPORT -BooleanCommonPtr addCommon(const std::shared_ptr& thePart, - const std::list& theMainObjects, - const std::list& theToolObjects, - const int theVersion = 0); +FEATURESAPI_EXPORT BooleanCommonPtr addCommon( + const std::shared_ptr& part, + const std::list& objects, + const std::list& tools = std::list(), + const bool keepSubResults = false); #endif // FeaturesAPI_BooleanCommon_H_