From 26b8018bccbcb0f6a296adbb11bdc66733aa9e12 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Wed, 17 Oct 2007 10:58:19 +0000 Subject: * Some asset loading refactoring --- OpenSim/Framework/Communications/Cache/SQLAssetServer.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Framework/Communications/Cache') diff --git a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs index 082a240..35ec1cf 100644 --- a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs +++ b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs @@ -61,6 +61,11 @@ namespace OpenSim.Framework.Communications.Caches } + public SQLAssetServer( IAssetProvider assetProvider ) + { + m_assetProviderPlugin = assetProvider; + } + public void AddPlugin(string FileName) { MainLog.Instance.Verbose("SQLAssetServer", "AssetStorage: Attempting to load " + FileName); -- cgit v1.1