diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/ConfigurationOption.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Framework/ConfigurationOption.cs b/OpenSim/Framework/ConfigurationOption.cs index b9919ca..9bb5d8f 100644 --- a/OpenSim/Framework/ConfigurationOption.cs +++ b/OpenSim/Framework/ConfigurationOption.cs | |||
@@ -31,8 +31,14 @@ namespace OpenSim.Framework | |||
31 | { | 31 | { |
32 | public class ConfigurationOption | 32 | public class ConfigurationOption |
33 | { | 33 | { |
34 | #region Delegates | ||
35 | |||
34 | public delegate bool ConfigurationOptionShouldBeAsked(string configuration_key); | 36 | public delegate bool ConfigurationOptionShouldBeAsked(string configuration_key); |
35 | 37 | ||
38 | #endregion | ||
39 | |||
40 | #region ConfigurationTypes enum | ||
41 | |||
36 | public enum ConfigurationTypes | 42 | public enum ConfigurationTypes |
37 | { | 43 | { |
38 | TYPE_STRING, | 44 | TYPE_STRING, |
@@ -53,12 +59,15 @@ namespace OpenSim.Framework | |||
53 | TYPE_DOUBLE | 59 | TYPE_DOUBLE |
54 | } ; | 60 | } ; |
55 | 61 | ||
62 | #endregion | ||
63 | |||
64 | public string configurationDefault = String.Empty; | ||
65 | |||
56 | public string configurationKey = String.Empty; | 66 | public string configurationKey = String.Empty; |
57 | public string configurationQuestion = String.Empty; | 67 | public string configurationQuestion = String.Empty; |
58 | public string configurationDefault = String.Empty; | ||
59 | 68 | ||
60 | public ConfigurationTypes configurationType = ConfigurationTypes.TYPE_STRING; | 69 | public ConfigurationTypes configurationType = ConfigurationTypes.TYPE_STRING; |
61 | public bool configurationUseDefaultNoPrompt = false; | 70 | public bool configurationUseDefaultNoPrompt = false; |
62 | public ConfigurationOptionShouldBeAsked shouldIBeAsked; //Should I be asked now? Based on previous answers | 71 | public ConfigurationOptionShouldBeAsked shouldIBeAsked; //Should I be asked now? Based on previous answers |
63 | } | 72 | } |
64 | } | 73 | } \ No newline at end of file |