From 756c5170694fa3dc4146c2b4034f52bd5c97ec86 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 26 Feb 2009 22:51:52 +0000 Subject: 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. --- OpenSim/Framework/RegistryCore.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/Framework/RegistryCore.cs') diff --git a/OpenSim/Framework/RegistryCore.cs b/OpenSim/Framework/RegistryCore.cs index c703f9f..ee15845 100644 --- a/OpenSim/Framework/RegistryCore.cs +++ b/OpenSim/Framework/RegistryCore.cs @@ -40,5 +40,15 @@ namespace OpenSim.Framework return (T)m_moduleInterfaces[typeof(T)]; } + public void StackModuleInterface(M mod) + { + + } + + public T[] RequestModuleInterfaces() + { + return new T[] { default(T) }; + } + } } -- cgit v1.1