diff options
author | John Hurliman | 2010-09-11 20:43:06 -0700 |
---|---|---|
committer | John Hurliman | 2010-09-11 20:43:06 -0700 |
commit | 109b51758398d24a96a16900e8feb24361aee29d (patch) | |
tree | aa696571c44fcf7afdad1931137a51f3074cd524 /OpenSim/Data/Null/NullDataStore.cs | |
parent | Re-enabled asset last access time logging in MySQL (diff) | |
download | opensim-SC-109b51758398d24a96a16900e8feb24361aee29d.zip opensim-SC-109b51758398d24a96a16900e8feb24361aee29d.tar.gz opensim-SC-109b51758398d24a96a16900e8feb24361aee29d.tar.bz2 opensim-SC-109b51758398d24a96a16900e8feb24361aee29d.tar.xz |
Fixed the naming mess around data connectors for simulation data
Diffstat (limited to 'OpenSim/Data/Null/NullDataStore.cs')
-rw-r--r-- | OpenSim/Data/Null/NullDataStore.cs | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/OpenSim/Data/Null/NullDataStore.cs b/OpenSim/Data/Null/NullDataStore.cs deleted file mode 100644 index 3ba44bb..0000000 --- a/OpenSim/Data/Null/NullDataStore.cs +++ /dev/null | |||
@@ -1,112 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSimulator Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using System.Collections.Generic; | ||
29 | using OpenMetaverse; | ||
30 | using OpenSim.Framework; | ||
31 | using OpenSim.Region.Framework.Interfaces; | ||
32 | using OpenSim.Region.Framework.Scenes; | ||
33 | |||
34 | namespace OpenSim.Data.Null | ||
35 | { | ||
36 | /// <summary> | ||
37 | /// NULL DataStore, do not store anything | ||
38 | /// </summary> | ||
39 | public class NullDataStore : IRegionDataStore | ||
40 | { | ||
41 | public void Initialise(string dbfile) | ||
42 | { | ||
43 | return; | ||
44 | } | ||
45 | |||
46 | public void Dispose() | ||
47 | { | ||
48 | } | ||
49 | |||
50 | public void StoreRegionSettings(RegionSettings rs) | ||
51 | { | ||
52 | } | ||
53 | public RegionLightShareData LoadRegionWindlightSettings(UUID regionUUID) | ||
54 | { | ||
55 | //This connector doesn't support the windlight module yet | ||
56 | //Return default LL windlight settings | ||
57 | return new RegionLightShareData(); | ||
58 | } | ||
59 | public void StoreRegionWindlightSettings(RegionLightShareData wl) | ||
60 | { | ||
61 | //This connector doesn't support the windlight module yet | ||
62 | } | ||
63 | public RegionSettings LoadRegionSettings(UUID regionUUID) | ||
64 | { | ||
65 | return null; | ||
66 | } | ||
67 | |||
68 | public void StoreObject(SceneObjectGroup obj, UUID regionUUID) | ||
69 | { | ||
70 | } | ||
71 | |||
72 | public void RemoveObject(UUID obj, UUID regionUUID) | ||
73 | { | ||
74 | } | ||
75 | |||
76 | // see IRegionDatastore | ||
77 | public void StorePrimInventory(UUID primID, ICollection<TaskInventoryItem> items) | ||
78 | { | ||
79 | } | ||
80 | |||
81 | public List<SceneObjectGroup> LoadObjects(UUID regionUUID) | ||
82 | { | ||
83 | return new List<SceneObjectGroup>(); | ||
84 | } | ||
85 | |||
86 | public void StoreTerrain(double[,] ter, UUID regionID) | ||
87 | { | ||
88 | } | ||
89 | |||
90 | public double[,] LoadTerrain(UUID regionID) | ||
91 | { | ||
92 | return null; | ||
93 | } | ||
94 | |||
95 | public void RemoveLandObject(UUID globalID) | ||
96 | { | ||
97 | } | ||
98 | |||
99 | public void StoreLandObject(ILandObject land) | ||
100 | { | ||
101 | } | ||
102 | |||
103 | public List<LandData> LoadLandObjects(UUID regionUUID) | ||
104 | { | ||
105 | return new List<LandData>(); | ||
106 | } | ||
107 | |||
108 | public void Shutdown() | ||
109 | { | ||
110 | } | ||
111 | } | ||
112 | } | ||