X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_ValidatorMessage.h;h=ae4400000dc114f3858f14ae5753feefe7e7fe4e;hb=8e2a17f0302f408fa06415fe70ba700a9183df48;hp=a0e410c153b1978a652946d8acd477b2eca3348f;hpb=72cb66f9c09b0f8fa224f6f8ab43548658015b49;p=modules%2Fshaper.git diff --git a/src/Config/Config_ValidatorMessage.h b/src/Config/Config_ValidatorMessage.h index a0e410c15..ae4400000 100644 --- a/src/Config/Config_ValidatorMessage.h +++ b/src/Config/Config_ValidatorMessage.h @@ -1,11 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -/* - * Config_ValidatorMessage.h - * - * Created on: 08 Jul 2014 �. - * Author: sbh - */ +// Copyright (C) 2014-2024 CEA, EDF +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef CONFIG_VALIDATORMESSAGE_H_ #define CONFIG_VALIDATORMESSAGE_H_ @@ -17,10 +27,11 @@ #include /// Event ID that Validator is loaded (comes with Config_ValidatorMessage) -static const char * EVENT_VALIDATOR_LOADED = "ValidatorLoaded"; +MAYBE_UNUSED static const char * EVENT_VALIDATOR_LOADED = "ValidatorLoaded"; /*! * \class Config_ValidatorMessage + * \ingroup Config * \brief Transmits info about created validator on "ValidatorLoaded" event */ class Config_ValidatorMessage : public Events_Message @@ -31,6 +42,11 @@ class Config_ValidatorMessage : public Events_Message std::list myVaidatorParameters; public: + /*! + * Constructor. + * \param theId - Events_ID of the message + * \param theParent - pointer to the sender + */ CONFIG_EXPORT Config_ValidatorMessage(const Events_ID theId, const void* theParent = 0); CONFIG_EXPORT virtual ~Config_ValidatorMessage();