aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ConfigurationOption.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-29 14:04:55 +0000
committerAdam Frisby2008-04-29 14:04:55 +0000
commit375163a6fece8b3a57c7555246abe8338223a599 (patch)
tree163001ca96a4b4d08589e9772f78510677d5d0dc /OpenSim/Framework/ConfigurationOption.cs
parentPatch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! (diff)
downloadopensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.zip
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.gz
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.bz2
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.xz
* Spring cleaning.
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
Diffstat (limited to 'OpenSim/Framework/ConfigurationOption.cs')
-rw-r--r--OpenSim/Framework/ConfigurationOption.cs13
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