From b4c9b6bd19c0725ae5bf60172db75ebc63ba72c6 Mon Sep 17 00:00:00 2001
From: Teravus Ovares
Date: Tue, 1 Jan 2008 06:12:04 +0000
Subject: * You can add and remove a friend in standalone now within the same
simulator. It saves. * You can add and remove a friend in grid mode now
within the same simulator. It doesn't save yet. * I got rid of Mr. OpenSim
as a friend.. he bothers me /:b...
---
.../Region/Environment/InstantMessageReceiver.cs | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 OpenSim/Region/Environment/InstantMessageReceiver.cs
(limited to 'OpenSim/Region/Environment/InstantMessageReceiver.cs')
diff --git a/OpenSim/Region/Environment/InstantMessageReceiver.cs b/OpenSim/Region/Environment/InstantMessageReceiver.cs
new file mode 100644
index 0000000..ecda399
--- /dev/null
+++ b/OpenSim/Region/Environment/InstantMessageReceiver.cs
@@ -0,0 +1,28 @@
+using System;
+
+namespace OpenSim.Region.Environment
+{
+ ///
+ /// Bit Vector for Which Modules to send an instant message to from the Scene or an Associated Module
+ ///
+
+ // This prevents the Modules from sending Instant messages to other modules through the scene
+ // and then receiving the same messages
+
+ // This is mostly here because on LLSL and the SecondLife Client, IMs,Groups and friends are linked
+ // inseparably
+
+ [Flags]
+ public enum InstantMessageReceiver : uint
+ {
+ /// None of them.. here for posterity and amusement
+ None = 0,
+ /// The IM Module
+ IMModule = 0x00000001,
+ /// The Friends Module
+ FriendsModule = 0x00000002,
+ /// The Groups Module
+ GroupsModule = 0x00000004
+
+ }
+}
--
cgit v1.1