diff options
Moved most of the configuration fields from Opensimbase to their own Class... Framework/ConfigSettings.
Diffstat (limited to 'OpenSim/Framework/ConfigSettings.cs')
-rw-r--r-- | OpenSim/Framework/ConfigSettings.cs | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/OpenSim/Framework/ConfigSettings.cs b/OpenSim/Framework/ConfigSettings.cs new file mode 100644 index 0000000..3671b06 --- /dev/null +++ b/OpenSim/Framework/ConfigSettings.cs | |||
@@ -0,0 +1,136 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Framework | ||
6 | { | ||
7 | public class ConfigSettings | ||
8 | { | ||
9 | private string m_physicsEngine; | ||
10 | |||
11 | public string PhysicsEngine | ||
12 | { | ||
13 | get { return m_physicsEngine; } | ||
14 | set { m_physicsEngine = value; } | ||
15 | } | ||
16 | private string m_meshEngineName; | ||
17 | |||
18 | public string MeshEngineName | ||
19 | { | ||
20 | get { return m_meshEngineName; } | ||
21 | set { m_meshEngineName = value; } | ||
22 | } | ||
23 | |||
24 | private bool m_sandbox; | ||
25 | |||
26 | public bool Sandbox | ||
27 | { | ||
28 | get { return m_sandbox; } | ||
29 | set { m_sandbox = value; } | ||
30 | } | ||
31 | |||
32 | private bool m_see_into_region_from_neighbor; | ||
33 | |||
34 | public bool See_into_region_from_neighbor | ||
35 | { | ||
36 | get { return m_see_into_region_from_neighbor; } | ||
37 | set { m_see_into_region_from_neighbor = value; } | ||
38 | } | ||
39 | |||
40 | private string m_storageDll; | ||
41 | |||
42 | public string StorageDll | ||
43 | { | ||
44 | get { return m_storageDll; } | ||
45 | set { m_storageDll = value; } | ||
46 | } | ||
47 | |||
48 | private string m_clientstackDll; | ||
49 | |||
50 | public string ClientstackDll | ||
51 | { | ||
52 | get { return m_clientstackDll; } | ||
53 | set { m_clientstackDll = value; } | ||
54 | } | ||
55 | |||
56 | private bool m_physicalPrim; | ||
57 | |||
58 | public bool PhysicalPrim | ||
59 | { | ||
60 | get { return m_physicalPrim; } | ||
61 | set { m_physicalPrim = value; } | ||
62 | } | ||
63 | |||
64 | private bool m_standaloneAuthenticate = false; | ||
65 | |||
66 | public bool StandaloneAuthenticate | ||
67 | { | ||
68 | get { return m_standaloneAuthenticate; } | ||
69 | set { m_standaloneAuthenticate = value; } | ||
70 | } | ||
71 | |||
72 | private string m_standaloneWelcomeMessage = null; | ||
73 | |||
74 | public string StandaloneWelcomeMessage | ||
75 | { | ||
76 | get { return m_standaloneWelcomeMessage; } | ||
77 | set { m_standaloneWelcomeMessage = value; } | ||
78 | } | ||
79 | |||
80 | private string m_standaloneInventoryPlugin; | ||
81 | |||
82 | public string StandaloneInventoryPlugin | ||
83 | { | ||
84 | get { return m_standaloneInventoryPlugin; } | ||
85 | set { m_standaloneInventoryPlugin = value; } | ||
86 | } | ||
87 | |||
88 | private string m_standaloneAssetPlugin; | ||
89 | |||
90 | public string StandaloneAssetPlugin | ||
91 | { | ||
92 | get { return m_standaloneAssetPlugin; } | ||
93 | set { m_standaloneAssetPlugin = value; } | ||
94 | } | ||
95 | |||
96 | private string m_standaloneUserPlugin; | ||
97 | |||
98 | public string StandaloneUserPlugin | ||
99 | { | ||
100 | get { return m_standaloneUserPlugin; } | ||
101 | set { m_standaloneUserPlugin = value; } | ||
102 | } | ||
103 | |||
104 | private string m_standaloneInventorySource; | ||
105 | |||
106 | public string StandaloneInventorySource | ||
107 | { | ||
108 | get { return m_standaloneInventorySource; } | ||
109 | set { m_standaloneInventorySource = value; } | ||
110 | } | ||
111 | |||
112 | private string m_standaloneAssetSource; | ||
113 | |||
114 | public string StandaloneAssetSource | ||
115 | { | ||
116 | get { return m_standaloneAssetSource; } | ||
117 | set { m_standaloneAssetSource = value; } | ||
118 | } | ||
119 | |||
120 | private string m_standaloneUserSource; | ||
121 | |||
122 | public string StandaloneUserSource | ||
123 | { | ||
124 | get { return m_standaloneUserSource; } | ||
125 | set { m_standaloneUserSource = value; } | ||
126 | } | ||
127 | |||
128 | private string m_assetStorage = "local"; | ||
129 | |||
130 | public string AssetStorage | ||
131 | { | ||
132 | get { return m_assetStorage; } | ||
133 | set { m_assetStorage = value; } | ||
134 | } | ||
135 | } | ||
136 | } | ||