aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authorMW2007-08-30 13:47:04 +0000
committerMW2007-08-30 13:47:04 +0000
commite1505be97fbf71ac91e0747b7604c1bc7e54e1ed (patch)
tree85c830dedcba4b9d55c709aa9c0d6ca1ad06411d /OpenSim/Region/Environment/Modules
parentdefault to sqlite for user storage. You will have to recreate (diff)
downloadopensim-SC_OLD-e1505be97fbf71ac91e0747b7604c1bc7e54e1ed.zip
opensim-SC_OLD-e1505be97fbf71ac91e0747b7604c1bc7e54e1ed.tar.gz
opensim-SC_OLD-e1505be97fbf71ac91e0747b7604c1bc7e54e1ed.tar.bz2
opensim-SC_OLD-e1505be97fbf71ac91e0747b7604c1bc7e54e1ed.tar.xz
Added some place holder classes for various modules.
Some work on the asset cache, can people please test this. including on one of the public systems so we can see if it causes problems with multiple users.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/AssetDownloadModule.cs45
-rw-r--r--OpenSim/Region/Environment/Modules/FriendsModule.cs10
-rw-r--r--OpenSim/Region/Environment/Modules/InstantMessageModule.cs10
-rw-r--r--OpenSim/Region/Environment/Modules/InventoryModule.cs10
-rw-r--r--OpenSim/Region/Environment/Modules/TextureDownloadModule.cs49
5 files changed, 124 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs b/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs
new file mode 100644
index 0000000..5d7e6a6
--- /dev/null
+++ b/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs
@@ -0,0 +1,45 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using libsecondlife;
5using OpenSim.Framework.Interfaces;
6using OpenSim.Region.Environment.Scenes;
7using OpenSim.Region.Environment.Interfaces;
8
9
10namespace OpenSim.Region.Environment.Modules
11{
12 public class AssetDownloadModule : IRegionModule
13 {
14 private Scene m_scene;
15
16 public AssetDownloadModule()
17 {
18
19 }
20
21 public void Initialise(Scene scene)
22 {
23 m_scene = scene;
24 m_scene.EventManager.OnNewClient += NewClient;
25 }
26
27 public void PostInitialise()
28 {
29
30 }
31
32 public void CloseDown()
33 {
34 }
35
36 public string GetName()
37 {
38 return "AssetDownloadModule";
39 }
40
41 public void NewClient(IClientAPI client)
42 {
43 }
44 }
45}
diff --git a/OpenSim/Region/Environment/Modules/FriendsModule.cs b/OpenSim/Region/Environment/Modules/FriendsModule.cs
new file mode 100644
index 0000000..960d68f
--- /dev/null
+++ b/OpenSim/Region/Environment/Modules/FriendsModule.cs
@@ -0,0 +1,10 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Region.Environment.Modules
6{
7 public class FriendsModule
8 {
9 }
10}
diff --git a/OpenSim/Region/Environment/Modules/InstantMessageModule.cs b/OpenSim/Region/Environment/Modules/InstantMessageModule.cs
new file mode 100644
index 0000000..ef2f224
--- /dev/null
+++ b/OpenSim/Region/Environment/Modules/InstantMessageModule.cs
@@ -0,0 +1,10 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Region.Environment.Modules
6{
7 public class InstantMessageModule
8 {
9 }
10}
diff --git a/OpenSim/Region/Environment/Modules/InventoryModule.cs b/OpenSim/Region/Environment/Modules/InventoryModule.cs
new file mode 100644
index 0000000..3659292
--- /dev/null
+++ b/OpenSim/Region/Environment/Modules/InventoryModule.cs
@@ -0,0 +1,10 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Region.Environment.Modules
6{
7 public class InventoryModule
8 {
9 }
10}
diff --git a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs
new file mode 100644
index 0000000..a92566d
--- /dev/null
+++ b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs
@@ -0,0 +1,49 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using libsecondlife;
5using OpenSim.Framework.Interfaces;
6using OpenSim.Region.Environment.Scenes;
7using OpenSim.Region.Environment.Interfaces;
8
9namespace OpenSim.Region.Environment.Modules
10{
11 public class TextureDownloadModule :IRegionModule
12 {
13 private Scene m_scene;
14
15 public TextureDownloadModule()
16 {
17
18 }
19
20 public void Initialise(Scene scene)
21 {
22 m_scene = scene;
23 m_scene.EventManager.OnNewClient += NewClient;
24 }
25
26 public void PostInitialise()
27 {
28
29 }
30
31 public void CloseDown()
32 {
33 }
34
35 public string GetName()
36 {
37 return "TextureDownloadModule";
38 }
39
40 public void NewClient(IClientAPI client)
41 {
42 }
43
44 public void TextureAssetCallback(LLUUID texture, byte[] data)
45 {
46
47 }
48 }
49}