aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetServer/Main.cs
diff options
context:
space:
mode:
authormingchen2007-07-19 20:39:33 +0000
committermingchen2007-07-19 20:39:33 +0000
commited69e84874b710c2cc3b8af94dd00cf725cf6d03 (patch)
tree0da9c55d9a1ddc796b66ba249fa58b093294828f /OpenSim/Grid/AssetServer/Main.cs
parentSome work on Inventory (not yet finished or enabled) (diff)
downloadopensim-SC_OLD-ed69e84874b710c2cc3b8af94dd00cf725cf6d03.zip
opensim-SC_OLD-ed69e84874b710c2cc3b8af94dd00cf725cf6d03.tar.gz
opensim-SC_OLD-ed69e84874b710c2cc3b8af94dd00cf725cf6d03.tar.bz2
opensim-SC_OLD-ed69e84874b710c2cc3b8af94dd00cf725cf6d03.tar.xz
*Moved XmlConfiguration to its own project
*Made it possible to load a configuration interface by DLL *Deleted the 1024 config files until they are updated
Diffstat (limited to 'OpenSim/Grid/AssetServer/Main.cs')
-rw-r--r--OpenSim/Grid/AssetServer/Main.cs28
1 files changed, 0 insertions, 28 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs
index f29a540..5a8368c 100644
--- a/OpenSim/Grid/AssetServer/Main.cs
+++ b/OpenSim/Grid/AssetServer/Main.cs
@@ -291,34 +291,6 @@ namespace OpenSim.Grid.AssetServer
291 //info.loaded=true; 291 //info.loaded=true;
292 } 292 }
293 293
294 /*private GridConfig LoadConfigDll(string dllName)
295 {
296 Assembly pluginAssembly = Assembly.LoadFrom(dllName);
297 GridConfig config = null;
298
299 foreach (Type pluginType in pluginAssembly.GetTypes())
300 {
301 if (pluginType.IsPublic)
302 {
303 if (!pluginType.IsAbstract)
304 {
305 Type typeInterface = pluginType.GetInterface("IGridConfig", true);
306
307 if (typeInterface != null)
308 {
309 IGridConfig plug = (IGridConfig)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
310 config = plug.GetConfigObject();
311 break;
312 }
313
314 typeInterface = null;
315 }
316 }
317 }
318 pluginAssembly = null;
319 return config;
320 }*/
321
322 public void CreateAsset(LLUUID assetId, byte[] assetData) 294 public void CreateAsset(LLUUID assetId, byte[] assetData)
323 { 295 {
324 AssetBase asset = new AssetBase(); 296 AssetBase asset = new AssetBase();