diff options
author | MW | 2009-02-26 20:01:20 +0000 |
---|---|---|
committer | MW | 2009-02-26 20:01:20 +0000 |
commit | 33e7c09b7b894551b35fb8ab29133c96a5d7b037 (patch) | |
tree | a21839dc38477c2679b9c94fcebc96cca8bcc26d /OpenSim/Framework/IRegistryCore.cs | |
parent | Attempt to fix the "region starts but doesn't load anything" issue (diff) | |
download | opensim-SC-33e7c09b7b894551b35fb8ab29133c96a5d7b037.zip opensim-SC-33e7c09b7b894551b35fb8ab29133c96a5d7b037.tar.gz opensim-SC-33e7c09b7b894551b35fb8ab29133c96a5d7b037.tar.bz2 opensim-SC-33e7c09b7b894551b35fb8ab29133c96a5d7b037.tar.xz |
Added IRegistryCore and RegistryCore to OpenSim.Framework.
Added a ApplicationRegistry to OpenSimBase.
Changed LoadRegionsPlugin so it registers itself to that application registry.
Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
Diffstat (limited to 'OpenSim/Framework/IRegistryCore.cs')
-rw-r--r-- | OpenSim/Framework/IRegistryCore.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Framework/IRegistryCore.cs b/OpenSim/Framework/IRegistryCore.cs new file mode 100644 index 0000000..486dee6 --- /dev/null +++ b/OpenSim/Framework/IRegistryCore.cs | |||
@@ -0,0 +1,13 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Framework | ||
6 | { | ||
7 | public interface IRegistryCore | ||
8 | { | ||
9 | T Get<T>(); | ||
10 | void RegisterInterface<T>(T iface); | ||
11 | bool TryGet<T>(out T iface); | ||
12 | } | ||
13 | } | ||