From: nds Date: Fri, 24 Oct 2014 10:21:45 +0000 (+0400) Subject: refs #98 - Default color for constraints X-Git-Tag: V_0.5~78 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=24f1ad2fd93475684288c899fb4fffcf05f6c21e;p=modules%2Fshaper.git refs #98 - Default color for constraints refs #129 - old LightApprc.7.4.0 problem The default values save mechanizm is implemented. --- diff --git a/src/Config/Config_PropManager.h b/src/Config/Config_PropManager.h index 496cddd6d..90df27705 100644 --- a/src/Config/Config_PropManager.h +++ b/src/Config/Config_PropManager.h @@ -23,11 +23,11 @@ class Config_PropManager * \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 theValue - initial value of the property + * \param theDefValue - default and initial value of the property * Returns True if the property succesfully registered */ CONFIG_EXPORT static bool registerProp(const std::string& theSection, const std::string& theName, - const std::string& theTitle, Config_Prop::PropType theType, const std::string& theValue); + const std::string& theTitle, Config_Prop::PropType theType, const std::string& theDefValue = ); CONFIG_EXPORT static Config_Prop* findProp( const std::string& theSection, const std::string& theName);