aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data/AssetDataBase.cs
diff options
context:
space:
mode:
authorlbsa712008-03-28 14:54:20 +0000
committerlbsa712008-03-28 14:54:20 +0000
commit8c901e93474af5fcd17a7f37acd711622c5286e0 (patch)
tree732b8db3dd2480d7cdeed49f4d086194e529ba6f /OpenSim/Framework/Data/AssetDataBase.cs
parentApplied patch from mantis# 825, thanks A_Biondi (diff)
downloadopensim-SC_OLD-8c901e93474af5fcd17a7f37acd711622c5286e0.zip
opensim-SC_OLD-8c901e93474af5fcd17a7f37acd711622c5286e0.tar.gz
opensim-SC_OLD-8c901e93474af5fcd17a7f37acd711622c5286e0.tar.bz2
opensim-SC_OLD-8c901e93474af5fcd17a7f37acd711622c5286e0.tar.xz
* Introduced common abstract AssetDataBase implementing IAssetProvider
* changed the semantics of SQLiteBase to SQLiteUtils * Added abstract placeholder files for the other db providers
Diffstat (limited to 'OpenSim/Framework/Data/AssetDataBase.cs')
-rw-r--r--OpenSim/Framework/Data/AssetDataBase.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data/AssetDataBase.cs b/OpenSim/Framework/Data/AssetDataBase.cs
new file mode 100644
index 0000000..2162358
--- /dev/null
+++ b/OpenSim/Framework/Data/AssetDataBase.cs
@@ -0,0 +1,20 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using libsecondlife;
5
6namespace OpenSim.Framework.Data
7{
8 public abstract class AssetDataBase : IAssetProvider
9 {
10 public abstract AssetBase FetchAsset(LLUUID uuid);
11 public abstract void CreateAsset(AssetBase asset);
12 public abstract void UpdateAsset(AssetBase asset);
13 public abstract bool ExistsAsset(LLUUID uuid);
14 public abstract void CommitAssets();
15
16 public abstract string Version { get; }
17 public abstract string Name { get; }
18 public abstract void Initialise();
19 }
20}