diff options
author | Melanie | 2019-08-21 21:23:54 +0100 |
---|---|---|
committer | Melanie | 2019-08-21 21:23:54 +0100 |
commit | 110644c23a8f6c2dedc4392c833101d369c58f3e (patch) | |
tree | 3cf78807d9e116fa3c1ec27ef8cee8f93cab2493 /OpenSim/Framework/Console/MockConsole.cs | |
parent | Call SetServer on consoles reflectively to avoid having type checks in places... (diff) | |
download | opensim-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-x | OpenSim/Framework/Console/MockConsole.cs | 3 |
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; | |||
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Text; | 31 | using System.Text; |
32 | using System.Xml; | 32 | using System.Xml; |
33 | using Nini.Config; | ||
33 | 34 | ||
34 | namespace OpenSim.Framework.Console | 35 | namespace 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 |