X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_PropManager.h;h=9b2ced3eafdf41b28ec17b152c9c459eb04d39f8;hb=1834431e0e067cbb4616f42679562d56af528f5e;hp=751e3f44618be83535da73368f5e6504f83768f8;hpb=a2686c838648dcf05659df3c31d9b90aca42b792;p=modules%2Fshaper.git diff --git a/src/Config/Config_PropManager.h b/src/Config/Config_PropManager.h index 751e3f446..9b2ced3ea 100644 --- a/src/Config/Config_PropManager.h +++ b/src/Config/Config_PropManager.h @@ -27,6 +27,7 @@ class Config_PropManager * Registers property parameters * \param theSection - name of section (domain of using) of the property. * \param theName - name (title) of the value. + * \param theTitle - title of the value. * \param theType - type of the value. * \param theDefValue - default and initial value of the property * Returns True if the property succesfully registered @@ -59,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