aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Framework/CommanderTestModule.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-30 21:43:47 +0000
committerAdam Frisby2008-04-30 21:43:47 +0000
commitbe20f41637b6c06ce3ab16bc25851b6e43468e12 (patch)
treec41081329891f4c24de704fc760fb9012954ac9d /OpenSim/Region/Environment/Modules/Framework/CommanderTestModule.cs
parent* Sometimes you know, you do something really stupid. (diff)
downloadopensim-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 '')
-rw-r--r--OpenSim/Region/Environment/Modules/Framework/CommanderTestModule.cs27
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 @@
28using System; 28using System;
29using Nini.Config; 29using Nini.Config;
30using OpenSim.Region.Environment.Interfaces; 30using OpenSim.Region.Environment.Interfaces;
31using OpenSim.Region.Environment.Modules.Framework;
32using OpenSim.Region.Environment.Scenes; 31using OpenSim.Region.Environment.Scenes;
33 32
34namespace OpenSim.Region.Environment.Modules.Framework 33namespace 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