diff options
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 'OpenSim/Region/Environment/Modules')
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using OpenSim.Framework.Interfaces; | ||
6 | using OpenSim.Region.Environment.Scenes; | ||
7 | using OpenSim.Region.Environment.Interfaces; | ||
8 | |||
9 | |||
10 | namespace 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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace 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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace 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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace 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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using OpenSim.Framework.Interfaces; | ||
6 | using OpenSim.Region.Environment.Scenes; | ||
7 | using OpenSim.Region.Environment.Interfaces; | ||
8 | |||
9 | namespace 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 | } | ||