-// Copyright (C) 2014-2017 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021 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
//
// 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
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef Config_PropManager_H
{
public:
- /**
+ /**
* Registers property parameters
* \param theSection - name of section (domain of using) of the property.
* \param theName - name (title) of the value.
* \param theType - type of the value.
* \param theDefValue - default and initial value of the property
* \param theMin - minimal value
- * \param theMax - minimal value
+ * \param theMax - maximal value
* Returns True if the property succesfully registered
*/
CONFIG_EXPORT static Config_Prop* registerProp(const std::string& theSection,
//! \return double result or zero
CONFIG_EXPORT static double stringToDouble(const std::string& theDouble);
+ //! Returns Auto-color status as a Boolean
+ CONFIG_EXPORT static bool getAutoColorStatus();
+
+ //! Set Auto-color boolean value
+ //! \param theValue a value to use
+ CONFIG_EXPORT static void setAutoColorStatus(const bool theValue);
+
private:
+
+ CONFIG_EXPORT static bool autoColorStatus; // Auto-color status
+
CONFIG_EXPORT static Config_Properties& props(); ///< List of all stored properties
};