From ab5e3328323a66028bfd47562d9d515dbec433be Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Mon, 16 Feb 2009 02:28:34 +0000 Subject: - removed OpenSim.Grid.AssetInventoryServer.Metadata class in favor of OpenSim.Framework.AssetMetadata and related updates in AssetInventory server - removed dependency on MySql.Data.MySqlClient - commented out the bulk of OpenSimInventoryStorage due to missing MySql.Data dependency - refactor asset creation in OpenSimAssetFrontend - commented out ForEach implementation, which also depended on MySql.Data, until it's supported by OpenSim backends - commented out some handlers in BrowseFrontend and ReferenceFrontend as they relied on either ForEach or the removed Metadata class --- OpenSim/Grid/AssetInventoryServer/Interfaces.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Grid/AssetInventoryServer/Interfaces.cs') diff --git a/OpenSim/Grid/AssetInventoryServer/Interfaces.cs b/OpenSim/Grid/AssetInventoryServer/Interfaces.cs index 29428d4..053cacf 100644 --- a/OpenSim/Grid/AssetInventoryServer/Interfaces.cs +++ b/OpenSim/Grid/AssetInventoryServer/Interfaces.cs @@ -73,12 +73,12 @@ namespace OpenSim.Grid.AssetInventoryServer public interface IAssetStorageProvider : IAssetInventoryServerPlugin { - BackendResponse TryFetchMetadata(UUID assetID, out Metadata metadata); + BackendResponse TryFetchMetadata(UUID assetID, out AssetMetadata metadata); BackendResponse TryFetchData(UUID assetID, out byte[] assetData); BackendResponse TryFetchDataMetadata(UUID assetID, out AssetBase asset); - BackendResponse TryCreateAsset(Metadata metadata, byte[] assetData); - BackendResponse TryCreateAsset(Metadata metadata, byte[] assetData, out UUID assetID); - int ForEach(Action action, int start, int count); + BackendResponse TryCreateAsset(AssetBase asset); + BackendResponse TryCreateAsset(AssetBase asset, out UUID assetID); + int ForEach(Action action, int start, int count); } public interface IInventoryStorageProvider : IAssetInventoryServerPlugin -- cgit v1.1