aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/MockConsole.cs
diff options
context:
space:
mode:
authorMelanie2012-08-14 21:54:47 +0200
committerMelanie2012-08-14 22:22:20 +0100
commitfaa710aee13347c4c55690f516ffda9179a92f3c (patch)
tree033ca7546d3853f28587bc8216e4c0aef1499a55 /OpenSim/Framework/Console/MockConsole.cs
parentminor: Add Gryc Ueusp to CREDITS for commit 884edac amongst others, by request. (diff)
downloadopensim-SC_OLD-faa710aee13347c4c55690f516ffda9179a92f3c.zip
opensim-SC_OLD-faa710aee13347c4c55690f516ffda9179a92f3c.tar.gz
opensim-SC_OLD-faa710aee13347c4c55690f516ffda9179a92f3c.tar.bz2
opensim-SC_OLD-faa710aee13347c4c55690f516ffda9179a92f3c.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}