aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/MockConsole.cs
diff options
context:
space:
mode:
authorMelanie2012-08-14 21:54:47 +0200
committerMelanie2012-08-14 21:54:47 +0200
commit195b69d1ea90a123ce1a61536dffa33276c1e76a (patch)
tree8973bc2b6bb8383cac255afc6ef16617424c6fb8 /OpenSim/Framework/Console/MockConsole.cs
parentMerge branch 'avination' of ssh://3dhosting.de/var/git/careminster into avina... (diff)
downloadopensim-SC-195b69d1ea90a123ce1a61536dffa33276c1e76a.zip
opensim-SC-195b69d1ea90a123ce1a61536dffa33276c1e76a.tar.gz
opensim-SC-195b69d1ea90a123ce1a61536dffa33276c1e76a.tar.bz2
opensim-SC-195b69d1ea90a123ce1a61536dffa33276c1e76a.tar.xz
Allow the use of the region debug console found in recent viewers. This console
will be available to estate owners and managers. If the user using the console had god privs, they can use "set console on" and "set console off" to switch on the actual region console. This allows console access from within the viewer. The region debug console can coexist with any other main console.
Diffstat (limited to 'OpenSim/Framework/Console/MockConsole.cs')
-rw-r--r--OpenSim/Framework/Console/MockConsole.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/MockConsole.cs b/OpenSim/Framework/Console/MockConsole.cs
index 4d8751f..b489f93 100644
--- a/OpenSim/Framework/Console/MockConsole.cs
+++ b/OpenSim/Framework/Console/MockConsole.cs
@@ -40,6 +40,8 @@ namespace OpenSim.Framework.Console
40 /// </summary> 40 /// </summary>
41 public class MockConsole : ICommandConsole 41 public class MockConsole : ICommandConsole
42 { 42 {
43 public event OnOutputDelegate OnOutput;
44
43 private MockCommands m_commands = new MockCommands(); 45 private MockCommands m_commands = new MockCommands();
44 46
45 public ICommands Commands { get { return m_commands; } } 47 public ICommands Commands { get { return m_commands; } }
@@ -76,4 +78,4 @@ namespace OpenSim.Framework.Console
76 public string[] Resolve(string[] cmd) { return null; } 78 public string[] Resolve(string[] cmd) { return null; }
77 public XmlElement GetXml(XmlDocument doc) { return null; } 79 public XmlElement GetXml(XmlDocument doc) { return null; }
78 } 80 }
79} \ No newline at end of file 81}