Committing interface and stubs for IM interception
parent
a42499c947
commit
7b1c42836d
|
@ -647,5 +647,12 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
||||||
return gim;
|
return gim;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void RegisterMessageFilter(Byte dialog, bool always, MessageFilterDelegate fn)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DeregisterMessageFilter(Byte dialog, MessageFilterDelegate fn)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,14 +25,19 @@
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
using System;
|
||||||
using OpenSim.Framework;
|
using OpenSim.Framework;
|
||||||
|
|
||||||
namespace OpenSim.Region.Framework.Interfaces
|
namespace OpenSim.Region.Framework.Interfaces
|
||||||
{
|
{
|
||||||
public delegate void MessageResultNotification(bool success);
|
public delegate void MessageResultNotification(bool success);
|
||||||
|
public delegate bool MessageFilterDelegate(GridInstantMessage im);
|
||||||
|
|
||||||
public interface IMessageTransferModule
|
public interface IMessageTransferModule
|
||||||
{
|
{
|
||||||
void SendInstantMessage(GridInstantMessage im, MessageResultNotification result);
|
void SendInstantMessage(GridInstantMessage im, MessageResultNotification result);
|
||||||
|
|
||||||
|
void RegisterMessageFilter(Byte dialog, bool always, MessageFilterDelegate fn);
|
||||||
|
void DeregisterMessageFilter(Byte dialog, MessageFilterDelegate fn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue