aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/IApplicationPlugin.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-07-04 03:11:53 +0000
committerCharles Krinke2008-07-04 03:11:53 +0000
commit23ec21e44a2d7227ca56c31622e9b9b754e52879 (patch)
tree43c85dc02b176f03539ed8617e05d566a4d5db1d /OpenSim/Region/Application/IApplicationPlugin.cs
parentMantis#1659. Thank you, Melanie for a patch that: (diff)
downloadopensim-SC_OLD-23ec21e44a2d7227ca56c31622e9b9b754e52879.zip
opensim-SC_OLD-23ec21e44a2d7227ca56c31622e9b9b754e52879.tar.gz
opensim-SC_OLD-23ec21e44a2d7227ca56c31622e9b9b754e52879.tar.bz2
opensim-SC_OLD-23ec21e44a2d7227ca56c31622e9b9b754e52879.tar.xz
Mantis#1647. Thank you very much, Sempuki for a patch that:
Updates the previous module loader work.
Diffstat (limited to 'OpenSim/Region/Application/IApplicationPlugin.cs')
-rw-r--r--OpenSim/Region/Application/IApplicationPlugin.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/IApplicationPlugin.cs b/OpenSim/Region/Application/IApplicationPlugin.cs
index e1187ae..f122925 100644
--- a/OpenSim/Region/Application/IApplicationPlugin.cs
+++ b/OpenSim/Region/Application/IApplicationPlugin.cs
@@ -37,4 +37,15 @@ namespace OpenSim
37 { 37 {
38 void Initialise(OpenSimBase openSim); 38 void Initialise(OpenSimBase openSim);
39 } 39 }
40
41 public class ApplicationPluginInitialiser : PluginInitialiserBase
42 {
43 private OpenSimBase server;
44 public ApplicationPluginInitialiser (OpenSimBase s) { server = s; }
45 public override void Initialise (IPlugin plugin)
46 {
47 IApplicationPlugin p = plugin as IApplicationPlugin;
48 p.Initialise (server);
49 }
50 }
40} 51}