From 375163a6fece8b3a57c7555246abe8338223a599 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 29 Apr 2008 14:04:55 +0000 Subject: * 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. --- OpenSim/Framework/ConfigurationOption.cs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/ConfigurationOption.cs') 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 { public class ConfigurationOption { + #region Delegates + public delegate bool ConfigurationOptionShouldBeAsked(string configuration_key); + #endregion + + #region ConfigurationTypes enum + public enum ConfigurationTypes { TYPE_STRING, @@ -53,12 +59,15 @@ namespace OpenSim.Framework TYPE_DOUBLE } ; + #endregion + + public string configurationDefault = String.Empty; + public string configurationKey = String.Empty; public string configurationQuestion = String.Empty; - public string configurationDefault = String.Empty; public ConfigurationTypes configurationType = ConfigurationTypes.TYPE_STRING; public bool configurationUseDefaultNoPrompt = false; public ConfigurationOptionShouldBeAsked shouldIBeAsked; //Should I be asked now? Based on previous answers } -} +} \ No newline at end of file -- cgit v1.1