From 87fe96ae2c48216d006a02ef22392f0838fba17f Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 26 Mar 2010 00:10:29 +0000
Subject: replace recent IModule.GetGroup() with better GetGroupRecord(string
name)
---
OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
(limited to 'OpenSim/Region/Framework')
diff --git a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs
index e357969..2c091e7 100644
--- a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs
@@ -55,11 +55,18 @@ namespace OpenSim.Region.Framework.Interfaces
bool openEnrollment, bool allowPublish, bool maturePublish);
///
- /// Get a group given its name
+ /// Get a group
///
- ///
+ /// Name of the group
/// The group's data. Null if there is no such group.
- DirGroupsReplyData? GetGroup(string name);
+ GroupRecord GetGroupRecord(string name);
+
+ ///
+ /// Get a group
+ ///
+ /// ID of the group
+ /// The group's data. Null if there is no such group.
+ GroupRecord GetGroupRecord(UUID GroupID);
void ActivateGroup(IClientAPI remoteClient, UUID groupID);
List GroupTitlesRequest(IClientAPI remoteClient, UUID groupID);
@@ -87,7 +94,6 @@ namespace OpenSim.Region.Framework.Interfaces
void LeaveGroupRequest(IClientAPI remoteClient, UUID GroupID);
void EjectGroupMemberRequest(IClientAPI remoteClient, UUID GroupID, UUID EjecteeID);
void InviteGroupRequest(IClientAPI remoteClient, UUID GroupID, UUID InviteeID, UUID RoleID);
- GroupRecord GetGroupRecord(UUID GroupID);
void NotifyChange(UUID GroupID);
}
}
\ No newline at end of file
--
cgit v1.1