diff options
author | Justin Clark-Casey (justincc) | 2014-07-18 22:27:39 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-07-18 22:27:39 +0100 |
commit | 9be935ac6d74fd3b8c0c95058a575e400dd916a4 (patch) | |
tree | e3fb5cc9f75bb555f879dcfda5a496eaf4a2594b /OpenSim/Framework/Console/MockConsole.cs | |
parent | refactor: slightly adjust some code in ODECharacter.Move() to eliminate a con... (diff) | |
download | opensim-SC-9be935ac6d74fd3b8c0c95058a575e400dd916a4.zip opensim-SC-9be935ac6d74fd3b8c0c95058a575e400dd916a4.tar.gz opensim-SC-9be935ac6d74fd3b8c0c95058a575e400dd916a4.tar.bz2 opensim-SC-9be935ac6d74fd3b8c0c95058a575e400dd916a4.tar.xz |
Add ICommands.HasCommand() method so that we can detect whether a command has already been registered without needing to also run it
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Console/MockConsole.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/MockConsole.cs b/OpenSim/Framework/Console/MockConsole.cs index 18a48bd..1a142df 100644 --- a/OpenSim/Framework/Console/MockConsole.cs +++ b/OpenSim/Framework/Console/MockConsole.cs | |||
@@ -82,6 +82,7 @@ namespace OpenSim.Framework.Console | |||
82 | public void AddCommand(string module, bool shared, string command, string help, string longhelp, CommandDelegate fn) {} | 82 | public void AddCommand(string module, bool shared, string command, string help, string longhelp, CommandDelegate fn) {} |
83 | public void AddCommand(string module, bool shared, string command, string help, string longhelp, string descriptivehelp, CommandDelegate fn) {} | 83 | public void AddCommand(string module, bool shared, string command, string help, string longhelp, string descriptivehelp, CommandDelegate fn) {} |
84 | public string[] FindNextOption(string[] cmd, bool term) { return null; } | 84 | public string[] FindNextOption(string[] cmd, bool term) { return null; } |
85 | public bool HasCommand(string cmd) { return false; } | ||
85 | public string[] Resolve(string[] cmd) { return null; } | 86 | public string[] Resolve(string[] cmd) { return null; } |
86 | public XmlElement GetXml(XmlDocument doc) { return null; } | 87 | public XmlElement GetXml(XmlDocument doc) { return null; } |
87 | } | 88 | } |