From f5ec332474ef5b7ee8e2588a1783f756f0a64525 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 6 May 2011 22:41:07 +0100 Subject: remove obsolete [StandAlone] config section parsing, none of which was actually used since being superseded by the connector architecture in 0.7 --- OpenSim/Framework/ConfigSettings.cs | 50 +------------------------------------ 1 file changed, 1 insertion(+), 49 deletions(-) (limited to 'OpenSim/Framework/ConfigSettings.cs') diff --git a/OpenSim/Framework/ConfigSettings.cs b/OpenSim/Framework/ConfigSettings.cs index be77341..9114e00 100644 --- a/OpenSim/Framework/ConfigSettings.cs +++ b/OpenSim/Framework/ConfigSettings.cs @@ -76,54 +76,6 @@ namespace OpenSim.Framework set { m_physicalPrim = value; } } - private bool m_standaloneAuthenticate = false; - - public bool StandaloneAuthenticate - { - get { return m_standaloneAuthenticate; } - set { m_standaloneAuthenticate = value; } - } - - private string m_standaloneWelcomeMessage = null; - - public string StandaloneWelcomeMessage - { - get { return m_standaloneWelcomeMessage; } - set { m_standaloneWelcomeMessage = value; } - } - - private string m_standaloneInventoryPlugin; - - public string StandaloneInventoryPlugin - { - get { return m_standaloneInventoryPlugin; } - set { m_standaloneInventoryPlugin = value; } - } - - private string m_standaloneUserPlugin; - - public string StandaloneUserPlugin - { - get { return m_standaloneUserPlugin; } - set { m_standaloneUserPlugin = value; } - } - - private string m_standaloneInventorySource; - - public string StandaloneInventorySource - { - get { return m_standaloneInventorySource; } - set { m_standaloneInventorySource = value; } - } - - private string m_standaloneUserSource; - - public string StandaloneUserSource - { - get { return m_standaloneUserSource; } - set { m_standaloneUserSource = value; } - } - protected string m_librariesXMLFile; public string LibrariesXMLFile { @@ -146,4 +98,4 @@ namespace OpenSim.Framework public const uint DefaultGridServerHttpPort = 8003; public const uint DefaultInventoryServerHttpPort = 8003; } -} +} \ No newline at end of file -- cgit v1.1 From b140aef87a18a5dd388abfc7afeeac7a417b6a83 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 6 May 2011 22:51:36 +0100 Subject: refactor: simplify ConfigSettings --- OpenSim/Framework/ConfigSettings.cs | 66 ++++--------------------------------- 1 file changed, 7 insertions(+), 59 deletions(-) (limited to 'OpenSim/Framework/ConfigSettings.cs') diff --git a/OpenSim/Framework/ConfigSettings.cs b/OpenSim/Framework/ConfigSettings.cs index 9114e00..50328d7 100644 --- a/OpenSim/Framework/ConfigSettings.cs +++ b/OpenSim/Framework/ConfigSettings.cs @@ -29,65 +29,13 @@ namespace OpenSim.Framework { public class ConfigSettings { - private string m_physicsEngine; - - public string PhysicsEngine - { - get { return m_physicsEngine; } - set { m_physicsEngine = value; } - } - private string m_meshEngineName; - - public string MeshEngineName - { - get { return m_meshEngineName; } - set { m_meshEngineName = value; } - } - - private bool m_see_into_region_from_neighbor; - - public bool See_into_region_from_neighbor - { - get { return m_see_into_region_from_neighbor; } - set { m_see_into_region_from_neighbor = value; } - } - - private string m_storageDll; - - public string StorageDll - { - get { return m_storageDll; } - set { m_storageDll = value; } - } - - private string m_clientstackDll; - - public string ClientstackDll - { - get { return m_clientstackDll; } - set { m_clientstackDll = value; } - } - - private bool m_physicalPrim; - - public bool PhysicalPrim - { - get { return m_physicalPrim; } - set { m_physicalPrim = value; } - } - - protected string m_librariesXMLFile; - public string LibrariesXMLFile - { - get - { - return m_librariesXMLFile; - } - set - { - m_librariesXMLFile = value; - } - } + public string PhysicsEngine { get; set; } + public string MeshEngineName { get; set; } + public bool See_into_region_from_neighbor { get; set; } + public string StorageDll { get; set; } + public string ClientstackDll { get; set; } + public bool PhysicalPrim { get; set; } + public string LibrariesXMLFile { get; set; } public const uint DefaultAssetServerHttpPort = 8003; public const uint DefaultRegionHttpPort = 9000; -- cgit v1.1