From b5eaea7b0c627c55544f4099b50e9ac1a504fe17 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 2 Oct 2007 00:00:12 +0000 Subject: * Moved setup of LocalInventoryService and LocalUserServices to the app layer * Killed off 'parent' relation from LocalUserServices to CommunicationsLocal * Deleted obsolete project InventoryServiceBase * Deleted superfluous createCol function --- OpenSim/Region/Examples/SimpleApp/Program.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Examples/SimpleApp') diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index d693cce..eafa500 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs @@ -41,8 +41,12 @@ namespace SimpleApp { base.StartUp(); - CommunicationsLocal.LocalSettings settings = new CommunicationsLocal.LocalSettings("", false, "", ""); - m_commsManager = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, settings); + CommunicationsLocal.LocalSettings settings = new CommunicationsLocal.LocalSettings("", false, ""); + + LocalInventoryService inventoryService = new LocalInventoryService(); + LocalUserServices userService = new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, m_networkServersInfo.DefaultHomeLocY, inventoryService); + + m_commsManager = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, settings, userService ); m_log.Notice(m_log.LineInfo); -- cgit v1.1