aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Common/OpenSim.Framework/Interfaces/ILocalStorage.cs')
-rw-r--r--Common/OpenSim.Framework/Interfaces/ILocalStorage.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs b/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
index 4dd8868..7307966 100644
--- a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
+++ b/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
@@ -37,11 +37,20 @@ namespace OpenSim.Framework.Interfaces
37 public interface ILocalStorage 37 public interface ILocalStorage
38 { 38 {
39 void Initialise(string datastore); 39 void Initialise(string datastore);
40
40 void StorePrim(PrimData prim); 41 void StorePrim(PrimData prim);
41 void RemovePrim(LLUUID primID); 42 void RemovePrim(LLUUID primID);
42 void LoadPrimitives(ILocalStorageReceiver receiver); 43 void LoadPrimitives(ILocalStorageReceiver receiver);
44
43 float[] LoadWorld(); 45 float[] LoadWorld();
44 void SaveMap(float[] heightmap); 46 void SaveMap(float[] heightmap);
47
48 void SaveParcels(ParcelData[] parcels);
49 void SaveParcel(ParcelData parcel);
50 void RemoveParcel(ParcelData parcel);
51 void RemoveAllParcels();
52 void LoadParcels(ILocalStorageParcelReceiver recv);
53
45 void ShutDown(); 54 void ShutDown();
46 } 55 }
47 56
@@ -50,5 +59,10 @@ namespace OpenSim.Framework.Interfaces
50 void PrimFromStorage(PrimData prim); 59 void PrimFromStorage(PrimData prim);
51 } 60 }
52 61
62 public interface ILocalStorageParcelReceiver
63 {
64 void ParcelFromStorage(ParcelData data);
65 void NoParcelDataFromStorage();
66 }
53} 67}
54 68