aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-14 20:56:56 +0000
committerJustin Clark-Casey (justincc)2011-11-14 20:56:56 +0000
commit89632f3ea8c355e5e860eb787aa21f90e79762d8 (patch)
treeff57923dd8ce7ca63e5b57bc2f2d05f745065691 /OpenSim/Region/Framework
parentMerge branch 'remove-scene-viewer' (diff)
downloadopensim-SC-89632f3ea8c355e5e860eb787aa21f90e79762d8.zip
opensim-SC-89632f3ea8c355e5e860eb787aa21f90e79762d8.tar.gz
opensim-SC-89632f3ea8c355e5e860eb787aa21f90e79762d8.tar.bz2
opensim-SC-89632f3ea8c355e5e860eb787aa21f90e79762d8.tar.xz
Add test for removing a friendship.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IFriendsModule.cs11
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 }