aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/IAssetCache.cs (renamed from OpenSim/Framework/IImprovedAssetCache.cs)10
-rw-r--r--OpenSim/Framework/WearableCacheItem.cs4
2 files changed, 10 insertions, 4 deletions
diff --git a/OpenSim/Framework/IImprovedAssetCache.cs b/OpenSim/Framework/IAssetCache.cs
index a853e90..8477116 100644
--- a/OpenSim/Framework/IImprovedAssetCache.cs
+++ b/OpenSim/Framework/IAssetCache.cs
@@ -29,7 +29,7 @@ using OpenSim.Framework;
29 29
30namespace OpenSim.Framework 30namespace OpenSim.Framework
31{ 31{
32 public interface IImprovedAssetCache 32 public interface IAssetCache
33 { 33 {
34 /// <summary> 34 /// <summary>
35 /// Cache the specified asset. 35 /// Cache the specified asset.
@@ -38,6 +38,12 @@ namespace OpenSim.Framework
38 void Cache(AssetBase asset); 38 void Cache(AssetBase asset);
39 39
40 /// <summary> 40 /// <summary>
41 /// Cache that the specified asset wasn't found.
42 /// </summary>
43 /// <param name='id'></param>
44 /// <summary>
45 void CacheNegative(string id);
46
41 /// Get an asset by its id. 47 /// Get an asset by its id.
42 /// </summary> 48 /// </summary>
43 /// <param name='id'></param> 49 /// <param name='id'></param>
@@ -61,4 +67,4 @@ namespace OpenSim.Framework
61 /// </summary> 67 /// </summary>
62 void Clear(); 68 void Clear();
63 } 69 }
64} \ No newline at end of file 70}
diff --git a/OpenSim/Framework/WearableCacheItem.cs b/OpenSim/Framework/WearableCacheItem.cs
index af28abc..966a6bc 100644
--- a/OpenSim/Framework/WearableCacheItem.cs
+++ b/OpenSim/Framework/WearableCacheItem.cs
@@ -50,7 +50,7 @@ namespace OpenSim.Framework
50 return retitems; 50 return retitems;
51 } 51 }
52 52
53 public static WearableCacheItem[] FromOSD(OSD pInput, IImprovedAssetCache dataCache) 53 public static WearableCacheItem[] FromOSD(OSD pInput, IAssetCache dataCache)
54 { 54 {
55 List<WearableCacheItem> ret = new List<WearableCacheItem>(); 55 List<WearableCacheItem> ret = new List<WearableCacheItem>();
56 if (pInput.Type == OSDType.Array) 56 if (pInput.Type == OSDType.Array)
@@ -100,7 +100,7 @@ namespace OpenSim.Framework
100 100
101 } 101 }
102 102
103 public static OSD ToOSD(WearableCacheItem[] pcacheItems, IImprovedAssetCache dataCache) 103 public static OSD ToOSD(WearableCacheItem[] pcacheItems, IAssetCache dataCache)
104 { 104 {
105 OSDArray arr = new OSDArray(); 105 OSDArray arr = new OSDArray();
106 foreach (WearableCacheItem item in pcacheItems) 106 foreach (WearableCacheItem item in pcacheItems)