diff options
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs b/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs new file mode 100644 index 0000000..4da5a7e --- /dev/null +++ b/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs | |||
@@ -0,0 +1,26 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using System.IO; | ||
5 | using libsecondlife; | ||
6 | |||
7 | namespace OpenSim.Region.Environment.Interfaces | ||
8 | { | ||
9 | public interface IDynamicTextureManager | ||
10 | { | ||
11 | void RegisterRender(string handleType, IDynamicTextureRender render); | ||
12 | void ReturnData(LLUUID id, byte[] data); | ||
13 | LLUUID AddDynamicTextureURL(LLUUID simID, LLUUID primID, string contentType, string url, string extraParams, int updateTimer); | ||
14 | } | ||
15 | |||
16 | public interface IDynamicTextureRender | ||
17 | { | ||
18 | string GetName(); | ||
19 | string GetContentType(); | ||
20 | bool SupportsAsynchronous(); | ||
21 | byte[] ConvertUrl(string url, string extraParams); | ||
22 | byte[] ConvertStream(Stream data, string extraParams); | ||
23 | bool AsyncConvertUrl(LLUUID id, string url, string extraParams); | ||
24 | bool AsyncConvertStream(LLUUID id, Stream data, string extraParams); | ||
25 | } | ||
26 | } | ||