diff options
*Handler Functions can now refuse an object as invalid by returning false, thus forcing the user to re-enter the data
*Added TYPE_STRING_NOT_EMPTY that requires some sort of text to be entered
*Added another parameter to addConfigurationOption called use_default_no_prompt that will not ask via the console a configuration option; it will use whatever is in the config file. If nothing is in the config file for that option, it will force itself to use default
Diffstat (limited to 'OpenSim/Framework/General/Configuration/ConfigurationOption.cs')
-rw-r--r-- | OpenSim/Framework/General/Configuration/ConfigurationOption.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/General/Configuration/ConfigurationOption.cs b/OpenSim/Framework/General/Configuration/ConfigurationOption.cs index 15da1aa..38f60a0 100644 --- a/OpenSim/Framework/General/Configuration/ConfigurationOption.cs +++ b/OpenSim/Framework/General/Configuration/ConfigurationOption.cs | |||
@@ -9,6 +9,7 @@ namespace OpenSim.Framework.Configuration | |||
9 | public enum ConfigurationTypes | 9 | public enum ConfigurationTypes |
10 | { | 10 | { |
11 | TYPE_STRING, | 11 | TYPE_STRING, |
12 | TYPE_STRING_NOT_EMPTY, | ||
12 | TYPE_UINT16, | 13 | TYPE_UINT16, |
13 | TYPE_UINT32, | 14 | TYPE_UINT32, |
14 | TYPE_UINT64, | 15 | TYPE_UINT64, |
@@ -30,5 +31,6 @@ namespace OpenSim.Framework.Configuration | |||
30 | public string configurationDefault = ""; | 31 | public string configurationDefault = ""; |
31 | 32 | ||
32 | public ConfigurationTypes configurationType = ConfigurationTypes.TYPE_STRING; | 33 | public ConfigurationTypes configurationType = ConfigurationTypes.TYPE_STRING; |
34 | public bool configurationUseDefaultNoPrompt = false; | ||
33 | } | 35 | } |
34 | } | 36 | } |