diff options
author | Justin Clark-Casey (justincc) | 2011-11-14 20:56:56 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-14 20:56:56 +0000 |
commit | 89632f3ea8c355e5e860eb787aa21f90e79762d8 (patch) | |
tree | ff57923dd8ce7ca63e5b57bc2f2d05f745065691 /OpenSim/Region/Framework/Interfaces/IFriendsModule.cs | |
parent | Merge branch 'remove-scene-viewer' (diff) | |
download | opensim-SC_OLD-89632f3ea8c355e5e860eb787aa21f90e79762d8.zip opensim-SC_OLD-89632f3ea8c355e5e860eb787aa21f90e79762d8.tar.gz opensim-SC_OLD-89632f3ea8c355e5e860eb787aa21f90e79762d8.tar.bz2 opensim-SC_OLD-89632f3ea8c355e5e860eb787aa21f90e79762d8.tar.xz |
Add test for removing a friendship.
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IFriendsModule.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IFriendsModule.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs index fdede34..061799e 100644 --- a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs | |||
@@ -44,6 +44,17 @@ namespace OpenSim.Region.Framework.Interfaces | |||
44 | /// <param name="friendID"></param> | 44 | /// <param name="friendID"></param> |
45 | void AddFriendship(IClientAPI client, UUID friendID); | 45 | void AddFriendship(IClientAPI client, UUID friendID); |
46 | 46 | ||
47 | /// <summary> | ||
48 | /// Remove a friendship between two users. | ||
49 | /// </summary> | ||
50 | /// <remarks> | ||
51 | /// Ultimately, it would be more useful to take in a user account here rather than having to have a user | ||
52 | /// present in the scene. | ||
53 | /// </remarks> | ||
54 | /// <param name="client"></param> | ||
55 | /// <param name="exFriendID"></param> | ||
56 | void RemoveFriendship(IClientAPI client, UUID exFriendID); | ||
57 | |||
47 | uint GetFriendPerms(UUID PrincipalID, UUID FriendID); | 58 | uint GetFriendPerms(UUID PrincipalID, UUID FriendID); |
48 | bool SendFriendsOnlineIfNeeded(IClientAPI client); | 59 | bool SendFriendsOnlineIfNeeded(IClientAPI client); |
49 | } | 60 | } |