Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelAPI / ModelAPI_FiltersFeature.h
index b4790994376d8aa1c6a996b47a237c5ed6889a8a..91b4ad30569030f16c0436ea60633b397c432e8b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  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
@@ -33,7 +33,8 @@ class ModelAPI_FiltersFeature: public ModelAPI_Feature
 {
 public:
   /// Adds a filter to the feature. Also initializes arguments of this filter.
-  virtual void addFilter(const std::string theFilterID) = 0;
+  /// Returns the real identifier of the filter.
+  virtual std::string addFilter(const std::string theFilterID) = 0;
 
   /// Removes an existing filter from the feature.
   virtual void removeFilter(const std::string theFilterID) = 0;