aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs
diff options
context:
space:
mode:
authorMW2007-09-04 20:21:03 +0000
committerMW2007-09-04 20:21:03 +0000
commitc014ea1510137b103dfa9b98dc01bf2081dad382 (patch)
treeda417ac577b198c23dd0ddc1f0f779520a3ce790 /OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs
parentFixed it so "shutdown" command works when a region is set as the active conso... (diff)
downloadopensim-SC_OLD-c014ea1510137b103dfa9b98dc01bf2081dad382.zip
opensim-SC_OLD-c014ea1510137b103dfa9b98dc01bf2081dad382.tar.gz
opensim-SC_OLD-c014ea1510137b103dfa9b98dc01bf2081dad382.tar.bz2
opensim-SC_OLD-c014ea1510137b103dfa9b98dc01bf2081dad382.tar.xz
Added partial help info when calling "help" command with a region set.
Added AddDynamicTextureData() to DynamicTextureModule, so that a script (or another module even) can create a dynamic texture by passing a string with the data in, rather than a url. This could be used for anything from a script passing a basic text string (and having it rendered to a texture) or the script building its own html document.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs b/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs
index 4da5a7e..8fdfa8f 100644
--- a/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs
+++ b/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs
@@ -11,6 +11,7 @@ namespace OpenSim.Region.Environment.Interfaces
11 void RegisterRender(string handleType, IDynamicTextureRender render); 11 void RegisterRender(string handleType, IDynamicTextureRender render);
12 void ReturnData(LLUUID id, byte[] data); 12 void ReturnData(LLUUID id, byte[] data);
13 LLUUID AddDynamicTextureURL(LLUUID simID, LLUUID primID, string contentType, string url, string extraParams, int updateTimer); 13 LLUUID AddDynamicTextureURL(LLUUID simID, LLUUID primID, string contentType, string url, string extraParams, int updateTimer);
14 LLUUID AddDynamicTextureData(LLUUID simID, LLUUID primID, string contentType, string data, string extraParams, int updateTimer);
14 } 15 }
15 16
16 public interface IDynamicTextureRender 17 public interface IDynamicTextureRender
@@ -21,6 +22,6 @@ namespace OpenSim.Region.Environment.Interfaces
21 byte[] ConvertUrl(string url, string extraParams); 22 byte[] ConvertUrl(string url, string extraParams);
22 byte[] ConvertStream(Stream data, string extraParams); 23 byte[] ConvertStream(Stream data, string extraParams);
23 bool AsyncConvertUrl(LLUUID id, string url, string extraParams); 24 bool AsyncConvertUrl(LLUUID id, string url, string extraParams);
24 bool AsyncConvertStream(LLUUID id, Stream data, string extraParams); 25 bool AsyncConvertData(LLUUID id, string bodyData, string extraParams);
25 } 26 }
26} 27}