diff options
author | Charles Krinke | 2008-05-17 15:47:08 +0000 |
---|---|---|
committer | Charles Krinke | 2008-05-17 15:47:08 +0000 |
commit | f6a4f8844f01fb756bbc26d65c252fc07ab8c2bf (patch) | |
tree | da27e199a03ec4afd829a3ab9b06deab47cd02a3 /OpenSim/Region/DataSnapshot/Interfaces | |
parent | while this doesn't fix the initial no pants issue in grid (which still baffle... (diff) | |
download | opensim-SC_OLD-f6a4f8844f01fb756bbc26d65c252fc07ab8c2bf.zip opensim-SC_OLD-f6a4f8844f01fb756bbc26d65c252fc07ab8c2bf.tar.gz opensim-SC_OLD-f6a4f8844f01fb756bbc26d65c252fc07ab8c2bf.tar.bz2 opensim-SC_OLD-f6a4f8844f01fb756bbc26d65c252fc07ab8c2bf.tar.xz |
Thank you very much KMeisthax for DataSnapshot 1.1
to enhance search capability on OpenSim sims using
external search engines such as Metaversink.com and
others.
Diffstat (limited to 'OpenSim/Region/DataSnapshot/Interfaces')
-rw-r--r-- | OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs | 13 | ||||
-rw-r--r-- | OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs | 12 |
2 files changed, 20 insertions, 5 deletions
diff --git a/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs b/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs new file mode 100644 index 0000000..697d313 --- /dev/null +++ b/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs | |||
@@ -0,0 +1,13 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using System.Xml; | ||
5 | |||
6 | namespace OpenSim.Region.DataSnapshot.Interfaces | ||
7 | { | ||
8 | public interface IDataSnapshot | ||
9 | { | ||
10 | XmlDocument GetSnapshot(string regionName); | ||
11 | void MakeEverythingStale(); | ||
12 | } | ||
13 | } | ||
diff --git a/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs b/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs index fb9c51a..1519355 100644 --- a/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs +++ b/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs | |||
@@ -26,19 +26,21 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | ||
29 | using System.Xml; | 30 | using System.Xml; |
30 | using OpenSim.Region.Environment.Scenes; | 31 | using OpenSim.Region.Environment.Scenes; |
31 | 32 | ||
32 | namespace OpenSim.Region.DataSnapshot.Interfaces | 33 | namespace OpenSim.Region.DataSnapshot.Interfaces |
33 | { | 34 | { |
35 | public delegate void ProviderStale(IDataSnapshotProvider provider); | ||
36 | |||
34 | public interface IDataSnapshotProvider | 37 | public interface IDataSnapshotProvider |
35 | { | 38 | { |
36 | XmlNode RequestSnapshotData(XmlDocument document); | 39 | XmlNode RequestSnapshotData(XmlDocument document); |
37 | |||
38 | //void PrepareData(); | ||
39 | |||
40 | void Initialize(Scene scene, DataSnapshotManager parent); | 40 | void Initialize(Scene scene, DataSnapshotManager parent); |
41 | |||
42 | Scene GetParentScene { get; } | 41 | Scene GetParentScene { get; } |
42 | String Name { get; } | ||
43 | bool Stale { get; set; } | ||
44 | event ProviderStale OnStale; | ||
43 | } | 45 | } |
44 | } \ No newline at end of file | 46 | } |