aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General/Configuration/ConfigurationOption.cs
diff options
context:
space:
mode:
authormingchen2007-07-19 15:01:14 +0000
committermingchen2007-07-19 15:01:14 +0000
commitde104536c156ebc743578a23dcc2950d20b6724e (patch)
tree38f2cece8e87faf533121d6f26479ecde00d21e3 /OpenSim/Framework/General/Configuration/ConfigurationOption.cs
parentAdded some Alert methods to Scene , and a console command handler. So from th... (diff)
downloadopensim-SC_OLD-de104536c156ebc743578a23dcc2950d20b6724e.zip
opensim-SC_OLD-de104536c156ebc743578a23dcc2950d20b6724e.tar.gz
opensim-SC_OLD-de104536c156ebc743578a23dcc2950d20b6724e.tar.bz2
opensim-SC_OLD-de104536c156ebc743578a23dcc2950d20b6724e.tar.xz
*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.cs2
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}