diff options
Diffstat (limited to 'OpenSim/Framework/General/Interfaces/IAssetProvider.cs')
-rw-r--r-- | OpenSim/Framework/General/Interfaces/IAssetProvider.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Framework/General/Interfaces/IAssetProvider.cs b/OpenSim/Framework/General/Interfaces/IAssetProvider.cs new file mode 100644 index 0000000..a2ef826 --- /dev/null +++ b/OpenSim/Framework/General/Interfaces/IAssetProvider.cs | |||
@@ -0,0 +1,18 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenSim.Framework.Types; | ||
5 | using libsecondlife; | ||
6 | |||
7 | namespace OpenSim.Framework.Interfaces | ||
8 | { | ||
9 | public interface IAssetProvider | ||
10 | { | ||
11 | void Initialise(string dbfile, string dbname); | ||
12 | AssetBase FetchAsset(LLUUID uuid); | ||
13 | void CreateAsset(AssetBase asset); | ||
14 | void UpdateAsset(AssetBase asset); | ||
15 | bool ExistsAsset(LLUUID uuid); | ||
16 | void CommitAssets(); // force a sync to the database | ||
17 | } | ||
18 | } \ No newline at end of file | ||