diff options
author | lbsa71 | 2007-10-10 18:24:13 +0000 |
---|---|---|
committer | lbsa71 | 2007-10-10 18:24:13 +0000 |
commit | a40e7100a232827cffb813bbbbe9374324ad3448 (patch) | |
tree | 7f16f392d653f155ca90d5477c842db9c881f3ed /OpenSim/Region/Environment/Modules/AssetDownloadModule.cs | |
parent | Added unit tests, based on nunit for the IInventoryData (diff) | |
download | opensim-SC_OLD-a40e7100a232827cffb813bbbbe9374324ad3448.zip opensim-SC_OLD-a40e7100a232827cffb813bbbbe9374324ad3448.tar.gz opensim-SC_OLD-a40e7100a232827cffb813bbbbe9374324ad3448.tar.bz2 opensim-SC_OLD-a40e7100a232827cffb813bbbbe9374324ad3448.tar.xz |
* Gave ModuleLoader some good lovin'
* Introduced ModuleLoader.PickupModules that currently picks up IRegionModule:s from /bin
* Made LogBase thread-safe (or at least not thread-ignorant)
* Ignored some genned files
Diffstat (limited to 'OpenSim/Region/Environment/Modules/AssetDownloadModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/AssetDownloadModule.cs | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs b/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs index 7d789f9..e4ae647 100644 --- a/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs +++ b/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs | |||
@@ -1,43 +1,43 @@ | |||
1 | using OpenSim.Framework.Interfaces; | 1 | using OpenSim.Framework.Interfaces; |
2 | using OpenSim.Region.Environment.Interfaces; | 2 | using OpenSim.Region.Environment.Interfaces; |
3 | using OpenSim.Region.Environment.Scenes; | 3 | using OpenSim.Region.Environment.Scenes; |
4 | 4 | ||
5 | namespace OpenSim.Region.Environment.Modules | 5 | namespace OpenSim.Region.Environment.Modules |
6 | { | 6 | { |
7 | public class AssetDownloadModule : IRegionModule | 7 | public class AssetDownloadModule : IRegionModule |
8 | { | 8 | { |
9 | private Scene m_scene; | 9 | private Scene m_scene; |
10 | 10 | ||
11 | public AssetDownloadModule() | 11 | public AssetDownloadModule() |
12 | { | 12 | { |
13 | } | 13 | } |
14 | 14 | ||
15 | public void Initialise(Scene scene) | 15 | public void Initialise(Scene scene) |
16 | { | 16 | { |
17 | m_scene = scene; | 17 | m_scene = scene; |
18 | m_scene.EventManager.OnNewClient += NewClient; | 18 | m_scene.EventManager.OnNewClient += NewClient; |
19 | } | 19 | } |
20 | 20 | ||
21 | public void PostInitialise() | 21 | public void PostInitialise() |
22 | { | 22 | { |
23 | } | 23 | } |
24 | 24 | ||
25 | public void CloseDown() | 25 | public void Close() |
26 | { | 26 | { |
27 | } | 27 | } |
28 | 28 | ||
29 | public string GetName() | 29 | public string Name |
30 | { | 30 | { |
31 | return "AssetDownloadModule"; | 31 | get { return "AssetDownloadModule"; } |
32 | } | 32 | } |
33 | 33 | ||
34 | public bool IsSharedModule() | 34 | public bool IsSharedModule |
35 | { | 35 | { |
36 | return false; | 36 | get { return false; } |
37 | } | 37 | } |
38 | 38 | ||
39 | public void NewClient(IClientAPI client) | 39 | public void NewClient(IClientAPI client) |
40 | { | 40 | { |
41 | } | 41 | } |
42 | } | 42 | } |
43 | } \ No newline at end of file | 43 | } \ No newline at end of file |