Some complex re-ordering to make prebuild do what needed to be done.

It is now possible to use module interfaces without referencing Scene.
Place those interfaces in OpenSim/Region/Interfaces. They may not
use any refs from OpenSim.Region.Environment as parameters.
This resolves a circular library ref introduced in r5949
This commit is contained in:
Melanie Thielker
2008-08-23 02:30:07 +00:00
parent 1b2939ac98
commit ccd74f888b
13 changed files with 49 additions and 9 deletions

View File

@@ -35,8 +35,7 @@ using log4net;
using OpenSim.Framework.Communications.Cache;
using OpenSim.Framework.Servers;
using OpenSim.Framework;
using OpenSim.Region.Environment.Interfaces;
using OpenSim.Region.Environment.Scenes;
using OpenSim.Region.Interfaces;
namespace OpenSim.Framework.Communications.Capabilities
{
@@ -614,7 +613,7 @@ namespace OpenSim.Framework.Communications.Capabilities
llsdRequest.asset_type == "sound")
{
IClientAPI client = GetClient(m_agentID);
Scene scene = (Scene)client.Scene;
IScene scene = client.Scene;
IMoneyModule mm = scene.RequestModuleInterface<IMoneyModule>();

View File

@@ -63,5 +63,7 @@ namespace OpenSim.Framework
bool PresenceChildStatus(LLUUID avatarID);
string GetCapsPath(LLUUID agentId);
T RequestModuleInterface<T>();
}
}
}