* refactor: Rename InventoryModule to InventoryTransferModule

0.6.0-stable
Justin Clarke Casey 2008-09-29 15:09:35 +00:00
parent 3fc86cb578
commit e768602681
3 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@ namespace OpenSim.Framework
/// <summary> /// <summary>
/// An interface for accessing and managing agent inventory /// An interface for accessing and managing agent inventory
/// </summary> /// </summary>
public interface IInventoryModule public interface IInventoryTransferModule
{ {
void SetRootAgentScene(UUID agentID, Scene scene); void SetRootAgentScene(UUID agentID, Scene scene);
bool NeedSceneCacheClear(UUID agentID, Scene scene); bool NeedSceneCacheClear(UUID agentID, Scene scene);

View File

@ -36,7 +36,7 @@ using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
{ {
public class InventoryModule : IInventoryModule, IRegionModule public class InventoryTransferModule : IInventoryTransferModule, IRegionModule
{ {
private static readonly ILog m_log private static readonly ILog m_log
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@ -59,7 +59,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
{ {
m_Scenelist.Add(scene); m_Scenelist.Add(scene);
scene.RegisterModuleInterface<IInventoryModule>(this); scene.RegisterModuleInterface<IInventoryTransferModule>(this);
scene.EventManager.OnNewClient += OnNewClient; scene.EventManager.OnNewClient += OnNewClient;
scene.EventManager.OnClientClosed += ClientLoggedOut; scene.EventManager.OnClientClosed += ClientLoggedOut;

View File

@ -4022,7 +4022,7 @@ namespace OpenSim.Region.Environment.Scenes
public void SetRootAgentScene(UUID agentID) public void SetRootAgentScene(UUID agentID)
{ {
IInventoryModule inv = RequestModuleInterface<IInventoryModule>(); IInventoryTransferModule inv = RequestModuleInterface<IInventoryTransferModule>();
if (inv == null) if (inv == null)
return; return;
@ -4031,7 +4031,7 @@ namespace OpenSim.Region.Environment.Scenes
public bool NeedSceneCacheClear(UUID agentID) public bool NeedSceneCacheClear(UUID agentID)
{ {
IInventoryModule inv = RequestModuleInterface<IInventoryModule>(); IInventoryTransferModule inv = RequestModuleInterface<IInventoryTransferModule>();
if (inv == null) if (inv == null)
return true; return true;