diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/GridServer/IGridPlugin.cs | 11 |
1 files changed, 11 insertions, 0 deletions
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 | |||
39 | void Initialise(GridServerBase gridServer); | 39 | void Initialise(GridServerBase gridServer); |
40 | void Close(); | 40 | void Close(); |
41 | } | 41 | } |
42 | |||
43 | public class GridPluginInitialiser : PluginInitialiserBase | ||
44 | { | ||
45 | private GridServerBase server; | ||
46 | public GridPluginInitialiser (GridServerBase s) { server = s; } | ||
47 | public override void Initialise (IPlugin plugin) | ||
48 | { | ||
49 | IGridPlugin p = plugin as IGridPlugin; | ||
50 | p.Initialise (server); | ||
51 | } | ||
52 | } | ||
42 | } | 53 | } |