From ca8d1d57e1bbf49cb52abe81b3a7246dacbe9b03 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Fri, 27 Jun 2008 02:15:57 +0000 Subject: Mantis#1591. Thank you graciously, Sempuki for a patch that: Currently module loading is done ad-hoc. I propose creating a simple loader class that leverages Mono.Addins (and perhaps the new .NET addins when they become available in mono). Attached is a basic patch for review that compiles into HEAD, but doesn't yet replace any existing ad-hoc loaders. --- OpenSim/Grid/GridServer/IGridPlugin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Grid/GridServer/IGridPlugin.cs') diff --git a/OpenSim/Grid/GridServer/IGridPlugin.cs b/OpenSim/Grid/GridServer/IGridPlugin.cs index 47273a2..d51deb3 100644 --- a/OpenSim/Grid/GridServer/IGridPlugin.cs +++ b/OpenSim/Grid/GridServer/IGridPlugin.cs @@ -27,13 +27,14 @@ */ using Mono.Addins; +using OpenSim.Framework; [assembly : AddinRoot("OpenSim", "0.5")] namespace OpenSim.Grid.GridServer { [TypeExtensionPoint("/OpenSim/GridServer")] - public interface IGridPlugin + public interface IGridPlugin : IPlugin { void Initialise(GridServerBase gridServer); void Close(); -- cgit v1.1