X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_PropManager.h;h=9b2ced3eafdf41b28ec17b152c9c459eb04d39f8;hb=1834431e0e067cbb4616f42679562d56af528f5e;hp=c6bba0810a4311ff0bad110bbe7df34a72b18231;hpb=85ca51b94bad5853150622699368be3137acc00e;p=modules%2Fshaper.git diff --git a/src/Config/Config_PropManager.h b/src/Config/Config_PropManager.h index c6bba0810..9b2ced3ea 100644 --- a/src/Config/Config_PropManager.h +++ b/src/Config/Config_PropManager.h @@ -60,6 +60,10 @@ class Config_PropManager CONFIG_EXPORT static double real(const std::string& theSection, const std::string& theName, const std::string& theDefault); + //! Returns boolean by given section and name + CONFIG_EXPORT static bool boolean(const std::string& theSection, + const std::string& theName, + const std::string& theDefault); private: CONFIG_EXPORT static Config_Properties myProps; ///< List of all stored properties