- * Registers property parameters
- * \param theOwnerId - name of owner (name of plugin for example)
- * \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
- * Returns True if the property succesfully registered
- */
- static bool registerProp(const std::string& theSection,
- const std::string& theName,
- const std::string& theTitle,
- Config_Prop::PropType theType,
- const std::string& theValue);
-
- static Config_Prop* findProp(const std::string& theSection,
- const std::string& theName);
-
- static Config_Properties getProperties();
+ * Registers property parameters
+ * \param theOwnerId - name of owner (name of plugin for example)
+ * \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
+ * Returns True if the property succesfully registered
+ */
+ CONFIG_EXPORT static Config_Prop* registerProp(const std::string& theSection, const std::string& theName,
+ 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);
+
+ CONFIG_EXPORT static Config_Properties getProperties();