diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/GridServer/GridServerBase.cs | 3 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer/IGridPlugin.cs | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs index a8ebd27..3cd7489 100644 --- a/OpenSim/Grid/GridServer/GridServerBase.cs +++ b/OpenSim/Grid/GridServer/GridServerBase.cs | |||
@@ -31,6 +31,7 @@ using System.IO; | |||
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using System.Timers; | 32 | using System.Timers; |
33 | using log4net; | 33 | using log4net; |
34 | using Mono.Addins; | ||
34 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
35 | using OpenSim.Framework.Console; | 36 | using OpenSim.Framework.Console; |
36 | using OpenSim.Framework.Servers; | 37 | using OpenSim.Framework.Servers; |
@@ -120,7 +121,7 @@ namespace OpenSim.Grid.GridServer | |||
120 | PluginLoader<IGridPlugin> loader = | 121 | PluginLoader<IGridPlugin> loader = |
121 | new PluginLoader<IGridPlugin> (new GridPluginInitialiser (this)); | 122 | new PluginLoader<IGridPlugin> (new GridPluginInitialiser (this)); |
122 | 123 | ||
123 | loader.Load ("/OpenSim/GridServer"); | 124 | loader.Load ("/OpenSim/GridServer", "."); |
124 | m_plugins = loader.Plugins; | 125 | m_plugins = loader.Plugins; |
125 | } | 126 | } |
126 | 127 | ||
diff --git a/OpenSim/Grid/GridServer/IGridPlugin.cs b/OpenSim/Grid/GridServer/IGridPlugin.cs index b8ac611..6593962 100644 --- a/OpenSim/Grid/GridServer/IGridPlugin.cs +++ b/OpenSim/Grid/GridServer/IGridPlugin.cs | |||
@@ -26,10 +26,14 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | 28 | ||
29 | using Mono.Addins; | ||
29 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
30 | 31 | ||
32 | [assembly : AddinRoot("OpenSim", "0.5")] | ||
33 | |||
31 | namespace OpenSim.Grid.GridServer | 34 | namespace OpenSim.Grid.GridServer |
32 | { | 35 | { |
36 | [TypeExtensionPoint("/OpenSim/GridServer")] | ||
33 | public interface IGridPlugin : IPlugin | 37 | public interface IGridPlugin : IPlugin |
34 | { | 38 | { |
35 | void Initialise(GridServerBase gridServer); | 39 | void Initialise(GridServerBase gridServer); |