From 656c72befc1d1b3d2aa29c09dd8f75ee2ef5ef8a Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 19 Oct 2007 08:57:30 +0000 Subject: * some more refactoring + bugfix --- OpenSim/Framework/General/Interfaces/IAssetServer.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Framework/General') diff --git a/OpenSim/Framework/General/Interfaces/IAssetServer.cs b/OpenSim/Framework/General/Interfaces/IAssetServer.cs index e7401eb..e615bf8 100644 --- a/OpenSim/Framework/General/Interfaces/IAssetServer.cs +++ b/OpenSim/Framework/General/Interfaces/IAssetServer.cs @@ -25,6 +25,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ +using System; +using System.Collections.Generic; using libsecondlife; using OpenSim.Framework.Types; @@ -43,6 +45,11 @@ namespace OpenSim.Framework.Interfaces void SetServerInfo(string ServerUrl, string ServerKey); void Close(); void LoadAsset(AssetBase info, bool image, string filename); + List GetDefaultAssets(); + AssetBase CreateImageAsset(string assetIdStr, string name, string filename); + void ForEachDefaultAsset(Action action); + AssetBase CreateAsset(string assetIdStr, string name, string filename, bool isImage); + void ForEachXmlAsset(Action action); } // could change to delegate? -- cgit v1.1