Strip estate message sending out from the estate management module and

the dialog module. Convert it to an event on the estate module interface.
The old implementation did the same as message to region, a button that
is right next to it on the UI. This implementation prevented people from
adding a more sane one in a module.
This commit is contained in:
Melanie Thielker
2010-05-04 23:45:59 +02:00
parent 07e0732a10
commit 49efec2ef1
4 changed files with 12 additions and 25 deletions

View File

@@ -30,11 +30,13 @@ using OpenMetaverse;
namespace OpenSim.Region.Framework.Interfaces
{
public delegate void ChangeDelegate(UUID regionID);
public delegate void MessageDelegate(UUID regionID, UUID fromID, string fromName, string message);
public interface IEstateModule : IRegionModule
{
event ChangeDelegate OnRegionInfoChange;
event ChangeDelegate OnEstateInfoChange;
event MessageDelegate OnEstateMessage;
uint GetRegionFlags();
bool IsManager(UUID avatarID);