Salome HOME
Issue #1664 In the Sketcher, add the function Split a segment - correction for arc...
[modules/shaper.git] / src / GeomValidators / GeomValidators_DifferentShapes.h
index 1fbb004e06c9c6e8315aeb2354cf6d9e94ff45c3..2bfef97119736ddd2a9480f3789ed5eaeeea103c 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef GeomValidators_DifferentShapes_H
 #define GeomValidators_DifferentShapes_H
 
-#include <ModelAPI.h>
+#include <GeomValidators.h>
 
 #include <ModelAPI_AttributeValidator.h>
 #include <ModelAPI_Attribute.h>
@@ -20,11 +20,12 @@ class GeomValidators_DifferentShapes : public ModelAPI_AttributeValidator
 public:
   /// returns True if the attribute is valid. It checks whether the feature of the attribute
   /// does not contain a selection attribute filled with the same shape
-  /// \param theAttribute an attribute to check
-  /// \param theArguments a filter parameters
-  MODELAPI_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
-                                       const std::list<std::string>& theArguments,
-                                       std::string& theError) const;
+  /// \param[in] theAttribute an attribute to check
+  /// \param[in] theArguments a filter parameters
+  /// \param[out] theError error message.
+  GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
+                                             const std::list<std::string>& theArguments,
+                                             Events_InfoMessage& theError) const;
 };
 
 #endif