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/IRegionCreator.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 OpenSim/Framework/IRegionCreator.cs (limited to 'OpenSim/Framework/IRegionCreator.cs') diff --git a/OpenSim/Framework/IRegionCreator.cs b/OpenSim/Framework/IRegionCreator.cs new file mode 100644 index 0000000..7920ee4 --- /dev/null +++ b/OpenSim/Framework/IRegionCreator.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenSim.Framework +{ + public delegate void NewRegionCreated(IScene scene); + public interface IRegionCreator + { + event NewRegionCreated OnNewRegionCreated; + } +} -- cgit v1.1