mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
* 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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user