diff options
author | lbsa71 | 2008-03-28 14:54:20 +0000 |
---|---|---|
committer | lbsa71 | 2008-03-28 14:54:20 +0000 |
commit | 8c901e93474af5fcd17a7f37acd711622c5286e0 (patch) | |
tree | 732b8db3dd2480d7cdeed49f4d086194e529ba6f /OpenSim/Framework/Data/AssetDataBase.cs | |
parent | Applied patch from mantis# 825, thanks A_Biondi (diff) | |
download | opensim-SC-8c901e93474af5fcd17a7f37acd711622c5286e0.zip opensim-SC-8c901e93474af5fcd17a7f37acd711622c5286e0.tar.gz opensim-SC-8c901e93474af5fcd17a7f37acd711622c5286e0.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Framework/Data/AssetDataBase.cs | 20 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | |||
6 | namespace 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 | } | ||