diff options
author | Melanie | 2010-03-03 02:07:03 +0000 |
---|---|---|
committer | Melanie | 2010-03-03 02:07:03 +0000 |
commit | 028a87fe37002e7a0611f66babf1deee46c83804 (patch) | |
tree | 387aec499fd60c2012bed8148e6a2ddc847c3d95 /OpenSim/Data/IFriendsData.cs | |
parent | Revert "test" (diff) | |
parent | Fixes Region.Framework tests. Although these tests don't fail, they need to b... (diff) | |
download | opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.zip opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.gz opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.bz2 opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.xz |
Merge branch 'master' into careminster-presence-refactor
This brings careminster on the level of master. To be tested
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/IFriendsData.cs (renamed from OpenSim/Data/ReservationData.cs) | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/OpenSim/Data/ReservationData.cs b/OpenSim/Data/IFriendsData.cs index 3956fe6..1f1a031 100644 --- a/OpenSim/Data/ReservationData.cs +++ b/OpenSim/Data/IFriendsData.cs | |||
@@ -26,23 +26,26 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | ||
29 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | using OpenSim.Framework; | ||
30 | 32 | ||
31 | namespace OpenSim.Data | 33 | namespace OpenSim.Data |
32 | { | 34 | { |
33 | public class ReservationData | 35 | public class FriendsData |
34 | { | 36 | { |
35 | public UUID userUUID = UUID.Zero; | 37 | public UUID PrincipalID; |
36 | public int reservationMinX = 0; | 38 | public string Friend; |
37 | public int reservationMinY = 0; | 39 | public Dictionary<string, string> Data; |
38 | public int reservationMaxX = 65536; | 40 | } |
39 | public int reservationMaxY = 65536; | ||
40 | |||
41 | public string reservationName = String.Empty; | ||
42 | public string reservationCompany = String.Empty; | ||
43 | public bool status = true; | ||
44 | 41 | ||
45 | public string gridSendKey = String.Empty; | 42 | /// <summary> |
46 | public string gridRecvKey = String.Empty; | 43 | /// An interface for connecting to the friends datastore |
44 | /// </summary> | ||
45 | public interface IFriendsData | ||
46 | { | ||
47 | bool Store(FriendsData data); | ||
48 | bool Delete(UUID ownerID, string friend); | ||
49 | FriendsData[] GetFriends(UUID principalID); | ||
47 | } | 50 | } |
48 | } | 51 | } |