aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General/Interfaces/IAssetProvider.cs
blob: a2ef826462bd88d9047a47447ad9237a332e80bf (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
    }
}