diff options
author | Justin Clarke Casey | 2009-02-05 19:54:22 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-05 19:54:22 +0000 |
commit | 9a666bda021503591e390facddda617f8b7ead3c (patch) | |
tree | 34cf79eb6f7a71003af347a4cbde17f8bad3a118 /OpenSim/Region/Environment/Interfaces | |
parent | * refactor: Split out module Command class into a separate file (diff) | |
download | opensim-SC_OLD-9a666bda021503591e390facddda617f8b7ead3c.zip opensim-SC_OLD-9a666bda021503591e390facddda617f8b7ead3c.tar.gz opensim-SC_OLD-9a666bda021503591e390facddda617f8b7ead3c.tar.bz2 opensim-SC_OLD-9a666bda021503591e390facddda617f8b7ead3c.tar.xz |
* Use the commander name to register module commanders instead of providing the information twice
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces')
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/ICommander.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/ICommander.cs b/OpenSim/Region/Environment/Interfaces/ICommander.cs index c4102af..a267115 100644 --- a/OpenSim/Region/Environment/Interfaces/ICommander.cs +++ b/OpenSim/Region/Environment/Interfaces/ICommander.cs | |||
@@ -29,6 +29,11 @@ namespace OpenSim.Region.Environment.Interfaces | |||
29 | { | 29 | { |
30 | public interface ICommander | 30 | public interface ICommander |
31 | { | 31 | { |
32 | /// <summary> | ||
33 | /// The name of this commander | ||
34 | /// </summary> | ||
35 | string Name { get; } | ||
36 | |||
32 | void ProcessConsoleCommand(string function, string[] args); | 37 | void ProcessConsoleCommand(string function, string[] args); |
33 | void RegisterCommand(string commandName, ICommand command); | 38 | void RegisterCommand(string commandName, ICommand command); |
34 | void Run(string function, object[] args); | 39 | void Run(string function, object[] args); |