summaryrefslogtreecommitdiffstats
path: root/src/Client/CommandParser.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-09-15 04:46:28 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-09-15 04:46:28 +0200
commit30bec92571ba23f1f2aa6b12149f6545a4ef0d7e (patch)
treee823812fc05dfa81a103f386df6be81745e2928e /src/Client/CommandParser.h
parentfbe26b0e48e6f3714900833174fcf42196e86fc8 (diff)
downloadmad-30bec92571ba23f1f2aa6b12149f6545a4ef0d7e.tar
mad-30bec92571ba23f1f2aa6b12149f6545a4ef0d7e.zip
Hosts k?nnen jetzt aufgelistet werden
Diffstat (limited to 'src/Client/CommandParser.h')
-rw-r--r--src/Client/CommandParser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Client/CommandParser.h b/src/Client/CommandParser.h
index 69ed217..40d36a7 100644
--- a/src/Client/CommandParser.h
+++ b/src/Client/CommandParser.h
@@ -31,6 +31,7 @@ class Connection;
namespace Packets {
class HostStatusPacket;
+class NameListPacket;
}
}
@@ -63,10 +64,12 @@ class CommandParser {
void printUsage(const std::string& command);
void helpCommand(const std::vector<std::string> &args);
+ void listHostsCommand(const std::vector<std::string>&);
void statusCommand(const std::vector<std::string>&);
void exitCommand(const std::vector<std::string>&);
void coreStatusRequestFinished(const Net::Packets::HostStatusPacket &packet);
+ void daemonListRequestFinished(const Net::Packets::NameListPacket &packet);
void requestFinished() {
activeRequests--;