X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_Validators.h;h=61613f35e50004742b7e535883d66b7905fb92f8;hb=b5893b0a30fac08134c24de4565cb513a43affa6;hp=36fa3ea2fbe7e4c5eb1323e8a46519914cfb4fc3;hpb=34256ae486b79ee986202cd88e13dc5ca2e9d2ec;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_Validators.h b/src/ExchangePlugin/ExchangePlugin_Validators.h index 36fa3ea2f..61613f35e 100644 --- a/src/ExchangePlugin/ExchangePlugin_Validators.h +++ b/src/ExchangePlugin/ExchangePlugin_Validators.h @@ -10,7 +10,8 @@ #include "ExchangePlugin.h" #include -/**\class ExchangePlugin_ImportFormatValidator +/** + * \class ExchangePlugin_FormatValidator * \ingroup Validators * \brief Validator for the imported formats checking * @@ -33,14 +34,25 @@ public: * allowed formats. */ virtual bool isValid(const AttributePtr& theAttribute, - const std::list& theArguments) const; + const std::list& theArguments, + Events_InfoMessage& theError) const; }; +/** + * \class ExchangePlugin_ImportFormatValidator + * \ingroup Validators + * \brief Validator for the import format. + */ class ExchangePlugin_ImportFormatValidator : public ExchangePlugin_FormatValidator { }; +/** + * \class ExchangePlugin_ExportFormatValidator + * \ingroup Validators + * \brief Validator for the export format. + */ class ExchangePlugin_ExportFormatValidator : public ExchangePlugin_FormatValidator {