diff options
author | Adam Frisby | 2008-04-30 21:43:47 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-30 21:43:47 +0000 |
commit | be20f41637b6c06ce3ab16bc25851b6e43468e12 (patch) | |
tree | c41081329891f4c24de704fc760fb9012954ac9d /OpenSim/Region/Environment/Modules/Framework | |
parent | * Sometimes you know, you do something really stupid. (diff) | |
download | opensim-SC-be20f41637b6c06ce3ab16bc25851b6e43468e12.zip opensim-SC-be20f41637b6c06ce3ab16bc25851b6e43468e12.tar.gz opensim-SC-be20f41637b6c06ce3ab16bc25851b6e43468e12.tar.bz2 opensim-SC-be20f41637b6c06ce3ab16bc25851b6e43468e12.tar.xz |
* Cruft removal step #1. Cleaning Modules directory.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Framework')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Framework/CommanderTestModule.cs | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/CommanderTestModule.cs b/OpenSim/Region/Environment/Modules/Framework/CommanderTestModule.cs index 76bdae3..cf87021 100644 --- a/OpenSim/Region/Environment/Modules/Framework/CommanderTestModule.cs +++ b/OpenSim/Region/Environment/Modules/Framework/CommanderTestModule.cs | |||
@@ -28,26 +28,29 @@ | |||
28 | using System; | 28 | using System; |
29 | using Nini.Config; | 29 | using Nini.Config; |
30 | using OpenSim.Region.Environment.Interfaces; | 30 | using OpenSim.Region.Environment.Interfaces; |
31 | using OpenSim.Region.Environment.Modules.Framework; | ||
32 | using OpenSim.Region.Environment.Scenes; | 31 | using OpenSim.Region.Environment.Scenes; |
33 | 32 | ||
34 | namespace OpenSim.Region.Environment.Modules.Framework | 33 | namespace OpenSim.Region.Environment.Modules.Framework |
35 | { | 34 | { |
36 | public class CommanderTestModule : IRegionModule, ICommandableModule | 35 | public class CommanderTestModule : IRegionModule, ICommandableModule |
37 | { | 36 | { |
38 | Commander m_commander = new Commander("CommanderTest"); | 37 | private Commander m_commander = new Commander("CommanderTest"); |
39 | Scene m_scene; | 38 | private Scene m_scene; |
40 | 39 | ||
41 | #region IRegionModule Members | 40 | #region ICommandableModule Members |
42 | 41 | ||
43 | public void Initialise(Scene scene, IConfigSource source) | 42 | public ICommander CommandInterface |
44 | { | 43 | { |
45 | m_scene = scene; | 44 | get { throw new NotImplementedException(); } |
46 | } | 45 | } |
47 | 46 | ||
48 | private void InterfaceHelloWorld(Object[] args) | 47 | #endregion |
48 | |||
49 | #region IRegionModule Members | ||
50 | |||
51 | public void Initialise(Scene scene, IConfigSource source) | ||
49 | { | 52 | { |
50 | Console.WriteLine("Hello World"); | 53 | m_scene = scene; |
51 | } | 54 | } |
52 | 55 | ||
53 | public void PostInitialise() | 56 | public void PostInitialise() |
@@ -77,13 +80,9 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
77 | 80 | ||
78 | #endregion | 81 | #endregion |
79 | 82 | ||
80 | #region ICommandableModule Members | 83 | private void InterfaceHelloWorld(Object[] args) |
81 | |||
82 | public ICommander CommandInterface | ||
83 | { | 84 | { |
84 | get { throw new NotImplementedException(); } | 85 | Console.WriteLine("Hello World"); |
85 | } | 86 | } |
86 | |||
87 | #endregion | ||
88 | } | 87 | } |
89 | } \ No newline at end of file | 88 | } \ No newline at end of file |