diff options
author | Melanie Thielker | 2009-07-10 20:17:13 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-07-10 20:17:13 +0000 |
commit | 8ecfc9a717c259fd238312888f6178b3f86c008a (patch) | |
tree | a05601b3c0218f3e797f4a2104e362a964522c7b /OpenSim/Region/Framework/Interfaces | |
parent | * minor: formatting adjustments in OpenSim.ini.example (diff) | |
download | opensim-SC_OLD-8ecfc9a717c259fd238312888f6178b3f86c008a.zip opensim-SC_OLD-8ecfc9a717c259fd238312888f6178b3f86c008a.tar.gz opensim-SC_OLD-8ecfc9a717c259fd238312888f6178b3f86c008a.tar.bz2 opensim-SC_OLD-8ecfc9a717c259fd238312888f6178b3f86c008a.tar.xz |
Committing the interface change and the addition to the modules to get
the ball rolling on replacable modules. No user functionality yet
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs b/OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs index 3888d2c..885f1ff 100644 --- a/OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs +++ b/OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs | |||
@@ -40,6 +40,20 @@ namespace OpenSim.Region.Framework.Interfaces | |||
40 | string Name { get; } | 40 | string Name { get; } |
41 | 41 | ||
42 | /// <summary> | 42 | /// <summary> |
43 | /// If this returns non-null, it is the type of an interface that | ||
44 | /// this module intends to register. | ||
45 | /// This will cause the loader to defer loading of this module | ||
46 | /// until all other modules have been loaded. If no other module | ||
47 | /// has registered the interface by then, this module will be | ||
48 | /// activated, else it will remain inactive, letting the other module | ||
49 | /// take over. This should return non-null ONLY in modules that are | ||
50 | /// intended to be easily replacable, e.g. stub implementations | ||
51 | /// that the developer expects to be replaced by third party provided | ||
52 | /// modules. | ||
53 | /// </summary> | ||
54 | Type ReplacableInterface { get; } | ||
55 | |||
56 | /// <summary> | ||
43 | /// This is called to initialize the region module. For shared modules, this is called | 57 | /// This is called to initialize the region module. For shared modules, this is called |
44 | /// exactly once, after creating the single (shared) instance. For non-shared modules, | 58 | /// exactly once, after creating the single (shared) instance. For non-shared modules, |
45 | /// this is called once on each instance, after the instace for the region has been created. | 59 | /// this is called once on each instance, after the instace for the region has been created. |