diff options
author | Adam Frisby | 2009-04-21 04:55:53 +0000 |
---|---|---|
committer | Adam Frisby | 2009-04-21 04:55:53 +0000 |
commit | 594c7c3eb13695304c755ec1bc65c5f239754222 (patch) | |
tree | 5de4d356929e3afa7efd0045167a92e44f710c21 /OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IHost.cs | |
parent | Change a bad use of a type name as a variable. Thanks, Fly-Man (diff) | |
download | opensim-SC-594c7c3eb13695304c755ec1bc65c5f239754222.zip opensim-SC-594c7c3eb13695304c755ec1bc65c5f239754222.tar.gz opensim-SC-594c7c3eb13695304c755ec1bc65c5f239754222.tar.bz2 opensim-SC-594c7c3eb13695304c755ec1bc65c5f239754222.tar.xz |
* Implements Extensions to MRM. This allows Region Modules to insert new classes into OpenSim MRM's.
* Example in region module:
Scene.GetModuleInterface<IMRMModule>.RegisterExtension<IMyInterface>(this);
* In the MRM:
//@DEPENDS:MyExtensionModule.dll
...
Host.Extensions<IMyInterface>.DoStuff();
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IHost.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IHost.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IHost.cs index 6c76919..fd73ffd 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IHost.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IHost.cs | |||
@@ -29,6 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using log4net; | 31 | using log4net; |
32 | using OpenSim.Region.OptionalModules.Scripting.Minimodule.Interfaces; | ||
32 | 33 | ||
33 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 34 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
34 | { | 35 | { |
@@ -37,5 +38,6 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
37 | IObject Object { get; } | 38 | IObject Object { get; } |
38 | ILog Console { get; } | 39 | ILog Console { get; } |
39 | IGraphics Graphics { get; } | 40 | IGraphics Graphics { get; } |
41 | IExtension Extensions { get; } | ||
40 | } | 42 | } |
41 | } | 43 | } |