From 23ec21e44a2d7227ca56c31622e9b9b754e52879 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Fri, 4 Jul 2008 03:11:53 +0000 Subject: Mantis#1647. Thank you very much, Sempuki for a patch that: Updates the previous module loader work. --- OpenSim/Grid/GridServer/IGridPlugin.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'OpenSim/Grid/GridServer/IGridPlugin.cs') diff --git a/OpenSim/Grid/GridServer/IGridPlugin.cs b/OpenSim/Grid/GridServer/IGridPlugin.cs index d51deb3..6593962 100644 --- a/OpenSim/Grid/GridServer/IGridPlugin.cs +++ b/OpenSim/Grid/GridServer/IGridPlugin.cs @@ -39,4 +39,15 @@ namespace OpenSim.Grid.GridServer void Initialise(GridServerBase gridServer); void Close(); } + + public class GridPluginInitialiser : PluginInitialiserBase + { + private GridServerBase server; + public GridPluginInitialiser (GridServerBase s) { server = s; } + public override void Initialise (IPlugin plugin) + { + IGridPlugin p = plugin as IGridPlugin; + p.Initialise (server); + } + } } -- cgit v1.1