From 1b7d0a6c93eb4a056d39b9cc708283086f8e8bf8 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 12 May 2009 14:59:11 +0000 Subject: Paving the way for syncing group permissions across a grid --- OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 4 ++++ OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs | 5 +++++ OpenSim/Framework/IClientAPI.cs | 1 + OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 2 +- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 4 ++++ OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | 2 ++ .../Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | 1 + OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 4 ++++ OpenSim/Tests/Common/Mock/TestClient.cs | 4 ++++ 9 files changed, 26 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index e5f7474..1cbf911 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs @@ -1622,6 +1622,10 @@ namespace OpenSim.Client.MXP.ClientStack { } + public void RefreshGroupMembership() + { + } + public void SendUseCachedMuteList() { } diff --git a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs index 4c54f33..167d081 100644 --- a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs +++ b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs @@ -1077,6 +1077,11 @@ namespace OpenSim.Client.VWoHTTP.ClientStack throw new System.NotImplementedException(); } + public void RefreshGroupMembership() + { + throw new System.NotImplementedException(); + } + public void SendAvatarNotesReply(UUID targetID, string text) { throw new System.NotImplementedException(); diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 28d5502..9b137b7 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -1141,6 +1141,7 @@ namespace OpenSim.Framework void SendClassifiedInfoReply(UUID classifiedID, UUID creatorID, uint creationDate, uint expirationDate, uint category, string name, string description, UUID parcelID, uint parentEstate, UUID snapshotID, string simName, Vector3 globalPos, string parcelName, byte classifiedFlags, int price); void SendAgentDropGroup(UUID groupID); + void RefreshGroupMembership(); void SendAvatarNotesReply(UUID targetID, string text); void SendAvatarPicksReply(UUID targetID, Dictionary picks); void SendPickInfoReply(UUID pickID,UUID creatorID, bool topPick, UUID parcelID, string name, string desc, UUID snapshotID, string user, string originalName, string simName, Vector3 posGlobal, int sortOrder, bool enabled); diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index a157df5..72cb5c8 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -10512,7 +10512,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP #endregion - private void RefreshGroupMembership() + public void RefreshGroupMembership() { if (m_GroupsModule != null) { diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index ddb27fe..3e9195e 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -1074,6 +1074,10 @@ namespace OpenSim.Region.Examples.SimpleModule { } + public void RefreshGroupMembership() + { + } + public void SendUseCachedMuteList() { } diff --git a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs index 6935924..8183828 100644 --- a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs @@ -32,10 +32,12 @@ using OpenSim.Framework; namespace OpenSim.Region.Framework.Interfaces { public delegate void NewGroupNotice(UUID groupID, UUID noticeID); + public delegate void GroupChange(UUID groupID); public interface IGroupsModule { event NewGroupNotice OnNewGroupNotice; + event GroupChange OnGroupChange; void ActivateGroup(IClientAPI remoteClient, UUID groupID); List GroupTitlesRequest(IClientAPI remoteClient, UUID groupID); diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs index 3476cdb..2a3df8c 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs @@ -541,6 +541,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups #region IGroupsModule Members public event NewGroupNotice OnNewGroupNotice; + public event GroupChange OnGroupChange; public GroupRecord GetGroupRecord(UUID GroupID) { diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index d3be827..f529c9e 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs @@ -1074,6 +1074,10 @@ namespace OpenSim.Region.OptionalModules.World.NPC { } + public void RefreshGroupMembership() + { + } + public void SendUseCachedMuteList() { } diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 256d6fd..f607284 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs @@ -1116,6 +1116,10 @@ namespace OpenSim.Tests.Common.Mock { } + public void RefreshGroupMembership() + { + } + public void SendUseCachedMuteList() { } -- cgit v1.1