]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_AttributeValidator.h
Salome HOME
Validators return InfoMessage instead of string as an error
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeValidator.h
index 142c91c233689bb32a729ca6e232263c3b8b2a9f..54e5679ece209378eba52b369a08c9c957142606 100644 (file)
@@ -23,7 +23,7 @@ public:
   //! \param theError the error string message if validation fails
   virtual bool isValid(const AttributePtr& theAttribute,
                        const std::list<std::string>& theArguments,
-                       std::string& theError) const = 0;
+                       Events_InfoMessage& theError) const = 0;
 
   MODELAPI_EXPORT ~ModelAPI_AttributeValidator();
 };