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/Region/Application/IApplicationPlugin.cs | 4 ---- OpenSim/Region/Application/OpenSimBase.cs | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/IApplicationPlugin.cs b/OpenSim/Region/Application/IApplicationPlugin.cs index f122925..2e3122f 100644 --- a/OpenSim/Region/Application/IApplicationPlugin.cs +++ b/OpenSim/Region/Application/IApplicationPlugin.cs @@ -25,14 +25,10 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -using Mono.Addins; using OpenSim.Framework; -[assembly : AddinRoot("OpenSim", "0.5")] - namespace OpenSim { - [TypeExtensionPoint("/OpenSim/Startup")] public interface IApplicationPlugin : IPlugin { void Initialise(OpenSimBase openSim); diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 37daf88..065d2f2 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -34,7 +34,6 @@ using System.Text; using System.Threading; using libsecondlife; using log4net; -using Mono.Addins; using Nini.Config; using OpenSim.Framework; using OpenSim.Framework.Communications.Cache; @@ -337,7 +336,7 @@ namespace OpenSim PluginLoader loader = new PluginLoader (new ApplicationPluginInitialiser (this)); - loader.Load ("/OpenSim/Startup", "."); + loader.Load ("/OpenSim/Startup"); m_plugins = loader.Plugins; } @@ -730,3 +729,4 @@ namespace OpenSim + -- cgit v1.1