Factor out common asset loading from AssetServerBase and Grid/AssetServer/Main

This commit is contained in:
Justin Clarke Casey
2007-12-28 22:13:43 +00:00
parent 7685f9c90f
commit 4ae10034bd
7 changed files with 205 additions and 134 deletions

View File

@@ -41,12 +41,6 @@ namespace OpenSim.Framework
void UpdateAsset(AssetBase asset);
void StoreAndCommitAsset(AssetBase asset);
void Close();
void LoadAsset(AssetBase info, bool image, string filename);
List<AssetBase> GetDefaultAssets();
AssetBase CreateImageAsset(string assetIdStr, string name, string filename);
void ForEachDefaultAsset(Action<AssetBase> action);
AssetBase CreateAsset(string assetIdStr, string name, string filename, bool isImage);
void ForEachXmlAsset(Action<AssetBase> action);
}
// could change to delegate?