aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ThirdParty/3Di/RegionProxy
diff options
context:
space:
mode:
authorCharles Krinke2008-06-27 02:15:57 +0000
committerCharles Krinke2008-06-27 02:15:57 +0000
commitca8d1d57e1bbf49cb52abe81b3a7246dacbe9b03 (patch)
tree97f8cce96ea2e98b96b36e523c59361bf00f63b8 /ThirdParty/3Di/RegionProxy
parentMantis#1610. Thank you, Melanie for a patch that: (diff)
downloadopensim-SC_OLD-ca8d1d57e1bbf49cb52abe81b3a7246dacbe9b03.zip
opensim-SC_OLD-ca8d1d57e1bbf49cb52abe81b3a7246dacbe9b03.tar.gz
opensim-SC_OLD-ca8d1d57e1bbf49cb52abe81b3a7246dacbe9b03.tar.bz2
opensim-SC_OLD-ca8d1d57e1bbf49cb52abe81b3a7246dacbe9b03.tar.xz
Mantis#1591. Thank you graciously, Sempuki for a patch that:
Currently module loading is done ad-hoc. I propose creating a simple loader class that leverages Mono.Addins (and perhaps the new .NET addins when they become available in mono). Attached is a basic patch for review that compiles into HEAD, but doesn't yet replace any existing ad-hoc loaders.
Diffstat (limited to 'ThirdParty/3Di/RegionProxy')
-rw-r--r--ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs b/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs
index 9bb883e..a3108f6 100644
--- a/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs
+++ b/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs
@@ -68,6 +68,18 @@ namespace OpenSim.ApplicationPlugins.RegionProxy
68 private ProxyServer proxy; 68 private ProxyServer proxy;
69 69
70 #region IApplicationPlugin Members 70 #region IApplicationPlugin Members
71 // TODO: required by IPlugin, but likely not at all right
72 string m_name = "RegionProxyPlugin";
73 string m_version = "0.0";
74
75 public string Version { get { return m_version; } }
76 public string Name { get { return m_name; } }
77
78 public void Initialise()
79 {
80 m_log.Info("[PROXY]: " + Name + " cannot be default-initialized!");
81 throw new PluginNotInitialisedException (Name);
82 }
71 83
72 public void Initialise(OpenSimBase openSim) 84 public void Initialise(OpenSimBase openSim)
73 { 85 {
@@ -89,7 +101,7 @@ namespace OpenSim.ApplicationPlugins.RegionProxy
89 proxy = new ProxyServer(m_log); 101 proxy = new ProxyServer(m_log);
90 } 102 }
91 103
92 public void Close() 104 public void Dispose()
93 { 105 {
94 } 106 }
95 107