diff options
Diffstat (limited to 'OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs')
-rw-r--r-- | OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs | 12 |
1 files changed, 7 insertions, 5 deletions
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 | } |