diff options
author | Adam Frisby | 2007-07-16 17:46:47 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-16 17:46:47 +0000 |
commit | ac4f8745baecf9707afa03351a111bb9d5854d97 (patch) | |
tree | 46722c3aa456bfbe6f712c7acbe27c98dc18a526 /OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs | |
parent | * Pruning an empty folder. (diff) | |
download | opensim-SC_OLD-ac4f8745baecf9707afa03351a111bb9d5854d97.zip opensim-SC_OLD-ac4f8745baecf9707afa03351a111bb9d5854d97.tar.gz opensim-SC_OLD-ac4f8745baecf9707afa03351a111bb9d5854d97.tar.bz2 opensim-SC_OLD-ac4f8745baecf9707afa03351a111bb9d5854d97.tar.xz |
* Updating internal LSL handler/compiler with Tedd's r1.
* Importing begginings of DB4oDataStore
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs new file mode 100644 index 0000000..71275c3 --- /dev/null +++ b/OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs | |||
@@ -0,0 +1,71 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | using OpenSim.Region.Environment.Scenes; | ||
6 | using OpenSim.Region.Environment; | ||
7 | using OpenSim.Region.Interfaces; | ||
8 | using OpenSim.Framework.Console; | ||
9 | using libsecondlife; | ||
10 | |||
11 | using Db4objects.Db4o; | ||
12 | |||
13 | namespace OpenSim.DataStore.NullStorage | ||
14 | { | ||
15 | public class DB4oDataStore : IRegionDataStore | ||
16 | { | ||
17 | private IObjectContainer db; | ||
18 | |||
19 | public void Initialise(string dbfile, string dbname) | ||
20 | { | ||
21 | db = Db4oFactory.OpenFile(dbfile); | ||
22 | |||
23 | return; | ||
24 | } | ||
25 | |||
26 | public void StoreObject(SceneObject obj) | ||
27 | { | ||
28 | db.Set(obj); | ||
29 | } | ||
30 | |||
31 | public void RemoveObject(LLUUID obj) | ||
32 | { | ||
33 | |||
34 | } | ||
35 | |||
36 | public List<SceneObject> LoadObjects() | ||
37 | { | ||
38 | return new List<SceneObject>(); | ||
39 | } | ||
40 | |||
41 | public void StoreTerrain(double[,] ter) | ||
42 | { | ||
43 | |||
44 | } | ||
45 | |||
46 | public double[,] LoadTerrain() | ||
47 | { | ||
48 | return null; | ||
49 | } | ||
50 | |||
51 | public void RemoveParcel(uint id) | ||
52 | { | ||
53 | |||
54 | } | ||
55 | |||
56 | public void StoreParcel(OpenSim.Region.Environment.Parcel parcel) | ||
57 | { | ||
58 | |||
59 | } | ||
60 | |||
61 | public List<OpenSim.Region.Environment.Parcel> LoadParcels() | ||
62 | { | ||
63 | return new List<OpenSim.Region.Environment.Parcel>(); | ||
64 | } | ||
65 | |||
66 | public void Shutdown() | ||
67 | { | ||
68 | |||
69 | } | ||
70 | } | ||
71 | } | ||