aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2011-05-01 12:03:00 -0700
committerDiva Canto2011-05-01 12:03:00 -0700
commit275046cf0248c61db161bf75cb3b4356a9ecc0e9 (patch)
tree004d638345907a1b8fd715717eaf035352459595 /OpenSim
parentMove CapabilitiesModule back to CoreModules. This one belongs there. (diff)
downloadopensim-SC-275046cf0248c61db161bf75cb3b4356a9ecc0e9.zip
opensim-SC-275046cf0248c61db161bf75cb3b4356a9ecc0e9.tar.gz
opensim-SC-275046cf0248c61db161bf75cb3b4356a9ecc0e9.tar.bz2
opensim-SC-275046cf0248c61db161bf75cb3b4356a9ecc0e9.tar.xz
Change GetTextureModule.cs to conform to the new IRegion module interface. NOTHING OF THIS WORKS. Compiles.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs27
1 files changed, 21 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
index 341240d..86c990f 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
@@ -52,7 +52,7 @@ namespace OpenSim.Region.ClientStack.Linden
52{ 52{
53 53
54 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")] 54 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")]
55 public class GetTextureModule : IRegionModule 55 public class GetTextureModule : ISharedRegionModule
56 { 56 {
57 private static readonly ILog m_log = 57 private static readonly ILog m_log =
58 LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 58 LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@@ -64,12 +64,22 @@ namespace OpenSim.Region.ClientStack.Linden
64 // TODO: Change this to a config option 64 // TODO: Change this to a config option
65 const string REDIRECT_URL = null; 65 const string REDIRECT_URL = null;
66 66
67 #region ISharedRegionModule Members
67 68
68 #region IRegionModule Members 69 public void Initialise(IConfigSource pSource)
70 {
71 }
72
73 public void AddRegion(Scene s)
74 {
75 }
76
77 public void RemoveRegion(Scene s)
78 {
79 }
69 80
70 public void Initialise(Scene pScene, IConfigSource pSource) 81 public void RegionLoaded(Scene s)
71 { 82 {
72 m_scene = pScene;
73 } 83 }
74 84
75 public void PostInitialise() 85 public void PostInitialise()
@@ -81,7 +91,13 @@ namespace OpenSim.Region.ClientStack.Linden
81 public void Close() { } 91 public void Close() { }
82 92
83 public string Name { get { return "GetTextureModule"; } } 93 public string Name { get { return "GetTextureModule"; } }
84 public bool IsSharedModule { get { return false; } } 94
95 public Type ReplaceableInterface
96 {
97 get { return null; }
98 }
99
100 #endregion
85 101
86 public void RegisterCaps(UUID agentID, Caps caps) 102 public void RegisterCaps(UUID agentID, Caps caps)
87 { 103 {
@@ -92,6 +108,5 @@ namespace OpenSim.Region.ClientStack.Linden
92 caps.RegisterHandler("GetTexture", new GetTextureHandler("/CAPS/" + capID + "/", m_assetService)); 108 caps.RegisterHandler("GetTexture", new GetTextureHandler("/CAPS/" + capID + "/", m_assetService));
93 } 109 }
94 110
95 #endregion
96 } 111 }
97} 112}