aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General/Interfaces/IAssetProvider.cs
blob: daf9d6d395b3db225724020ec5bece8f0aace19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Framework.Types;
using libsecondlife;

namespace OpenSim.Framework.Interfaces
{
    public interface IAssetProvider
    {
        void Initialise(string dbfile, string dbname);
        AssetBase FetchAsset(LLUUID uuid);
        void CreateAsset(AssetBase asset);
        void UpdateAsset(AssetBase asset);
        bool ExistsAsset(LLUUID uuid);
        void CommitAssets(); // force a sync to the database
    }
}