From c28b2f799a7f9e2205c65254b15c046940eba86c Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 20 Feb 2009 12:48:46 +0000 Subject: [PATCH] Revert previous commit --- .../Avatar/InstantMessage/MessageTransferModule.cs | 7 ------- .../Region/Framework/Interfaces/IMessageTransferModule.cs | 7 +------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs index 4ba11acb93..94a856b84d 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs @@ -647,12 +647,5 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage return gim; } - public void RegisterMessageFilter(Byte dialog, bool always, MessageFilterDelegate fn) - { - } - - public void DeregisterMessageFilter(Byte dialog, MessageFilterDelegate fn) - { - } } } diff --git a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs index 51ac37cc10..40c224d4d0 100644 --- a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs @@ -25,19 +25,14 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -using System; using OpenSim.Framework; namespace OpenSim.Region.Framework.Interfaces { public delegate void MessageResultNotification(bool success); - public delegate bool MessageFilterDelegate(GridInstantMessage im); - + public interface IMessageTransferModule { void SendInstantMessage(GridInstantMessage im, MessageResultNotification result); - - void RegisterMessageFilter(Byte dialog, bool always, MessageFilterDelegate fn); - void DeregisterMessageFilter(Byte dialog, MessageFilterDelegate fn); } }