aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index 16dcd7b..a86946e 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -48,6 +48,9 @@ namespace SimpleApp
48 private ModuleLoader m_moduleLoader; 48 private ModuleLoader m_moduleLoader;
49 private IConfigSource m_config; 49 private IConfigSource m_config;
50 50
51 private string m_userPlugin = "OpenSim.Framework.Data.SQLite.dll";
52 private string m_inventoryPlugin = "OpenSim.Framework.Data.SQLite.dll";
53
51 protected override LogBase CreateLog() 54 protected override LogBase CreateLog()
52 { 55 {
53 return new LogBase(null, "SimpleApp", this, true); 56 return new LogBase(null, "SimpleApp", this, true);
@@ -70,11 +73,14 @@ namespace SimpleApp
70 StartUp(); 73 StartUp();
71 74
72 LocalInventoryService inventoryService = new LocalInventoryService(); 75 LocalInventoryService inventoryService = new LocalInventoryService();
76 inventoryService.AddPlugin(m_inventoryPlugin);
77
73 LocalUserServices userService = 78 LocalUserServices userService =
74 new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, 79 new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX,
75 m_networkServersInfo.DefaultHomeLocY, inventoryService); 80 m_networkServersInfo.DefaultHomeLocY, inventoryService);
81 userService.AddPlugin(m_userPlugin);
82
76 LocalBackEndServices backendService = new LocalBackEndServices(); 83 LocalBackEndServices backendService = new LocalBackEndServices();
77 userService.AddPlugin("OpenSim.Framework.Data.SQLite.dll");
78 84
79 CommunicationsLocal localComms = 85 CommunicationsLocal localComms =
80 new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService, inventoryService, 86 new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService, inventoryService,