aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/LoadRegions
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins/LoadRegions')
-rw-r--r--OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs17
1 files changed, 15 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs
index 4b11fd4..6743fb4 100644
--- a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs
+++ b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs
@@ -46,6 +46,19 @@ namespace OpenSim.ApplicationPlugins.LoadRegions
46 46
47 #region IApplicationPlugin Members 47 #region IApplicationPlugin Members
48 48
49 // TODO: required by IPlugin, but likely not at all right
50 string m_name = "LoadRegionsPlugin";
51 string m_version = "0.0";
52
53 public string Version { get { return m_version; } }
54 public string Name { get { return m_name; } }
55
56 public void Initialise()
57 {
58 m_log.Info("[LOADREGIONS]: " + Name + " cannot be default-initialized!");
59 throw new PluginNotInitialisedException (Name);
60 }
61
49 public void Initialise(OpenSimBase openSim) 62 public void Initialise(OpenSimBase openSim)
50 { 63 {
51 m_log.Info("[LOADREGIONS]: Load Regions addin being initialised"); 64 m_log.Info("[LOADREGIONS]: Load Regions addin being initialised");
@@ -78,7 +91,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions
78 openSim.ModuleLoader.ClearCache(); 91 openSim.ModuleLoader.ClearCache();
79 } 92 }
80 93
81 public void Close() 94 public void Dispose()
82 { 95 {
83 } 96 }
84 97
@@ -113,4 +126,4 @@ namespace OpenSim.ApplicationPlugins.LoadRegions
113 } 126 }
114 } 127 }
115 } 128 }
116} \ No newline at end of file 129}