diff options
author | MW | 2009-02-26 22:51:52 +0000 |
---|---|---|
committer | MW | 2009-02-26 22:51:52 +0000 |
commit | 756c5170694fa3dc4146c2b4034f52bd5c97ec86 (patch) | |
tree | 2390934b9e8544e332d55ff7a9a513424612914a /OpenSim/ApplicationPlugins | |
parent | This adds a new osGetAgentIP function with threat level set to High. It (diff) | |
download | opensim-SC-756c5170694fa3dc4146c2b4034f52bd5c97ec86.zip opensim-SC-756c5170694fa3dc4146c2b4034f52bd5c97ec86.tar.gz opensim-SC-756c5170694fa3dc4146c2b4034f52bd5c97ec86.tar.bz2 opensim-SC-756c5170694fa3dc4146c2b4034f52bd5c97ec86.tar.xz |
Added IRegionCreator interface that all ApplicationPlugins that are creators of Scenes should implement and register with the ApplicationRegistry.StackModuleInterface<>(); So that other plugins can attach to their OnNewRegionCreated event.
Made some changes to IRegistryCore and RegistryCore so they support "Stacked" interfaces.
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs | 1 | ||||
-rw-r--r-- | OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs index 0633e63..83c2426 100644 --- a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs +++ b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs | |||
@@ -114,6 +114,7 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager | |||
114 | private void InitialiseCommsManager(OpenSimBase openSim) | 114 | private void InitialiseCommsManager(OpenSimBase openSim) |
115 | { | 115 | { |
116 | LibraryRootFolder libraryRootFolder = new LibraryRootFolder(m_openSim.ConfigurationSettings.LibrariesXMLFile); | 116 | LibraryRootFolder libraryRootFolder = new LibraryRootFolder(m_openSim.ConfigurationSettings.LibrariesXMLFile); |
117 | |||
117 | bool hgrid = m_openSim.ConfigSource.Source.Configs["Startup"].GetBoolean("hypergrid", false); | 118 | bool hgrid = m_openSim.ConfigSource.Source.Configs["Startup"].GetBoolean("hypergrid", false); |
118 | 119 | ||
119 | if (hgrid) | 120 | if (hgrid) |
diff --git a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs index 962f7b3..4a6a6b1 100644 --- a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs +++ b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs | |||
@@ -42,9 +42,7 @@ using OpenSim.Framework.Servers; | |||
42 | 42 | ||
43 | namespace OpenSim.ApplicationPlugins.LoadRegions | 43 | namespace OpenSim.ApplicationPlugins.LoadRegions |
44 | { | 44 | { |
45 | public delegate void NewRegionCreated(IScene scene); | 45 | public class LoadRegionsPlugin : IApplicationPlugin, IRegionCreator |
46 | |||
47 | public class LoadRegionsPlugin : IApplicationPlugin | ||
48 | { | 46 | { |
49 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 47 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
50 | 48 | ||