From e768602681178d8a736d2a1ceb37ff63bf7dd15c Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 29 Sep 2008 15:09:35 +0000 Subject: [PATCH] * refactor: Rename InventoryModule to InventoryTransferModule --- .../{IInventoryModule.cs => IInventoryTransferModule.cs} | 2 +- .../{InventoryModule.cs => InventoryTransferModule.cs} | 4 ++-- OpenSim/Region/Environment/Scenes/Scene.cs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename OpenSim/Region/Environment/Interfaces/{IInventoryModule.cs => IInventoryTransferModule.cs} (97%) rename OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/{InventoryModule.cs => InventoryTransferModule.cs} (98%) diff --git a/OpenSim/Region/Environment/Interfaces/IInventoryModule.cs b/OpenSim/Region/Environment/Interfaces/IInventoryTransferModule.cs similarity index 97% rename from OpenSim/Region/Environment/Interfaces/IInventoryModule.cs rename to OpenSim/Region/Environment/Interfaces/IInventoryTransferModule.cs index 50f4af384e..10fbd581b2 100644 --- a/OpenSim/Region/Environment/Interfaces/IInventoryModule.cs +++ b/OpenSim/Region/Environment/Interfaces/IInventoryTransferModule.cs @@ -35,7 +35,7 @@ namespace OpenSim.Framework /// /// An interface for accessing and managing agent inventory /// - public interface IInventoryModule + public interface IInventoryTransferModule { void SetRootAgentScene(UUID agentID, Scene scene); bool NeedSceneCacheClear(UUID agentID, Scene scene); diff --git a/OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryTransferModule.cs similarity index 98% rename from OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryModule.cs rename to OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryTransferModule.cs index 6cc938df02..ed583384e7 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryTransferModule.cs @@ -36,7 +36,7 @@ using OpenSim.Region.Environment.Scenes; namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer { - public class InventoryModule : IInventoryModule, IRegionModule + public class InventoryTransferModule : IInventoryTransferModule, IRegionModule { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); @@ -59,7 +59,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer { m_Scenelist.Add(scene); - scene.RegisterModuleInterface(this); + scene.RegisterModuleInterface(this); scene.EventManager.OnNewClient += OnNewClient; scene.EventManager.OnClientClosed += ClientLoggedOut; diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index ceec7bca53..42e9c02a2b 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -4022,7 +4022,7 @@ namespace OpenSim.Region.Environment.Scenes public void SetRootAgentScene(UUID agentID) { - IInventoryModule inv = RequestModuleInterface(); + IInventoryTransferModule inv = RequestModuleInterface(); if (inv == null) return; @@ -4031,7 +4031,7 @@ namespace OpenSim.Region.Environment.Scenes public bool NeedSceneCacheClear(UUID agentID) { - IInventoryModule inv = RequestModuleInterface(); + IInventoryTransferModule inv = RequestModuleInterface(); if (inv == null) return true;