diff options
author | Melanie Thielker | 2009-02-20 12:15:40 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-02-20 12:15:40 +0000 |
commit | 7b1c42836d58bd0b2f03ad45575520d8ecf8119d (patch) | |
tree | b5ec9c6f8667cdd5948f6970d30ce2c2b347e4ca | |
parent | Thanks DoranZemlja for a patch implementing non-shortcircuiting in (diff) | |
download | opensim-SC-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.zip opensim-SC-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.tar.gz opensim-SC-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.tar.bz2 opensim-SC-7b1c42836d58bd0b2f03ad45575520d8ecf8119d.tar.xz |
Committing interface and stubs for IM interception
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs | 7 |
2 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs index 94a856b..4ba11ac 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | |||
@@ -647,5 +647,12 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
647 | return gim; | 647 | return gim; |
648 | } | 648 | } |
649 | 649 | ||
650 | public void RegisterMessageFilter(Byte dialog, bool always, MessageFilterDelegate fn) | ||
651 | { | ||
652 | } | ||
653 | |||
654 | public void DeregisterMessageFilter(Byte dialog, MessageFilterDelegate fn) | ||
655 | { | ||
656 | } | ||
650 | } | 657 | } |
651 | } | 658 | } |
diff --git a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs index 40c224d..51ac37c 100644 --- a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs | |||
@@ -25,14 +25,19 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
28 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
29 | 30 | ||
30 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
31 | { | 32 | { |
32 | public delegate void MessageResultNotification(bool success); | 33 | public delegate void MessageResultNotification(bool success); |
33 | 34 | public delegate bool MessageFilterDelegate(GridInstantMessage im); | |
35 | |||
34 | public interface IMessageTransferModule | 36 | public interface IMessageTransferModule |
35 | { | 37 | { |
36 | void SendInstantMessage(GridInstantMessage im, MessageResultNotification result); | 38 | void SendInstantMessage(GridInstantMessage im, MessageResultNotification result); |
39 | |||
40 | void RegisterMessageFilter(Byte dialog, bool always, MessageFilterDelegate fn); | ||
41 | void DeregisterMessageFilter(Byte dialog, MessageFilterDelegate fn); | ||
37 | } | 42 | } |
38 | } | 43 | } |