aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/MockConsole.cs
diff options
context:
space:
mode:
authorMelanie2019-08-21 21:23:54 +0100
committerMelanie2019-08-21 21:23:54 +0100
commit110644c23a8f6c2dedc4392c833101d369c58f3e (patch)
tree3cf78807d9e116fa3c1ec27ef8cee8f93cab2493 /OpenSim/Framework/Console/MockConsole.cs
parentCall SetServer on consoles reflectively to avoid having type checks in places... (diff)
downloadopensim-SC-110644c23a8f6c2dedc4392c833101d369c58f3e.zip
opensim-SC-110644c23a8f6c2dedc4392c833101d369c58f3e.tar.gz
opensim-SC-110644c23a8f6c2dedc4392c833101d369c58f3e.tar.bz2
opensim-SC-110644c23a8f6c2dedc4392c833101d369c58f3e.tar.xz
Make ReadConfig a general features of consoles, rather than type dependent
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Framework/Console/MockConsole.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/MockConsole.cs b/OpenSim/Framework/Console/MockConsole.cs
index d68b066..6adc678 100755
--- a/OpenSim/Framework/Console/MockConsole.cs
+++ b/OpenSim/Framework/Console/MockConsole.cs
@@ -30,6 +30,7 @@ using System.Threading;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Text; 31using System.Text;
32using System.Xml; 32using System.Xml;
33using Nini.Config;
33 34
34namespace OpenSim.Framework.Console 35namespace OpenSim.Framework.Console
35{ 36{
@@ -69,6 +70,8 @@ namespace OpenSim.Framework.Console
69 public string Prompt(string prompt, string defaultresponse, List<string> options) { return ""; } 70 public string Prompt(string prompt, string defaultresponse, List<string> options) { return ""; }
70 71
71 public string PasswdPrompt(string p) { return ""; } 72 public string PasswdPrompt(string p) { return ""; }
73
74 public void ReadConfig(IConfigSource configSource) { }
72 } 75 }
73 76
74 public class MockCommands : ICommands 77 public class MockCommands : ICommands