From 7fd63d9dc84cce5a6e6b177ff3b62598b08978f4 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Thu, 10 Jul 2008 13:45:46 +0000 Subject: Mantis#1682. Thank you kindly, Sempuki for a patch that: Move control of Mono.Addins from source attributes to external XML files. This removes a lot of coupling of the source with Mono.Addins --- OpenSim/Grid/GridServer/GridServerBase.cs | 3 +-- OpenSim/Grid/GridServer/IGridPlugin.cs | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'OpenSim/Grid/GridServer') diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs index 3cd7489..a8ebd27 100644 --- a/OpenSim/Grid/GridServer/GridServerBase.cs +++ b/OpenSim/Grid/GridServer/GridServerBase.cs @@ -31,7 +31,6 @@ using System.IO; using System.Reflection; using System.Timers; using log4net; -using Mono.Addins; using OpenSim.Framework; using OpenSim.Framework.Console; using OpenSim.Framework.Servers; @@ -121,7 +120,7 @@ namespace OpenSim.Grid.GridServer PluginLoader loader = new PluginLoader (new GridPluginInitialiser (this)); - loader.Load ("/OpenSim/GridServer", "."); + loader.Load ("/OpenSim/GridServer"); m_plugins = loader.Plugins; } diff --git a/OpenSim/Grid/GridServer/IGridPlugin.cs b/OpenSim/Grid/GridServer/IGridPlugin.cs index 6593962..b8ac611 100644 --- a/OpenSim/Grid/GridServer/IGridPlugin.cs +++ b/OpenSim/Grid/GridServer/IGridPlugin.cs @@ -26,14 +26,10 @@ * */ -using Mono.Addins; using OpenSim.Framework; -[assembly : AddinRoot("OpenSim", "0.5")] - namespace OpenSim.Grid.GridServer { - [TypeExtensionPoint("/OpenSim/GridServer")] public interface IGridPlugin : IPlugin { void Initialise(GridServerBase gridServer); -- cgit v1.1