diff options
author | Charles Krinke | 2008-07-11 02:04:02 +0000 |
---|---|---|
committer | Charles Krinke | 2008-07-11 02:04:02 +0000 |
commit | cda526939145d92794eb14554ef43badaf06c149 (patch) | |
tree | b152e13ae8925f5d7ec850bdfac847a0fe472ab9 /OpenSim/Grid | |
parent | Mantis#1541. Thank you kindly, Phrearch for a patch that: (diff) | |
download | opensim-SC-cda526939145d92794eb14554ef43badaf06c149.zip opensim-SC-cda526939145d92794eb14554ef43badaf06c149.tar.gz opensim-SC-cda526939145d92794eb14554ef43badaf06c149.tar.bz2 opensim-SC-cda526939145d92794eb14554ef43badaf06c149.tar.xz |
Mantis#1682. Revert temporarily, Sempuki's mono addins patch
while he studies the issues in Windows a little bit.
Diffstat (limited to 'OpenSim/Grid')
-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); |