summaryrefslogtreecommitdiffstats
path: root/src/Client/CommandParser.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-09-16 04:54:36 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-09-16 04:54:36 +0200
commitd08a98b8304eb2c831907254095d6829fb98a95b (patch)
tree5ae7b3dfa427b3680ded829a8d5c12e8ed16ae3a /src/Client/CommandParser.h
parenta37ee55e14db26ca273ddeca5b0ab0fb8c8de77c (diff)
downloadmad-d08a98b8304eb2c831907254095d6829fb98a95b.tar
mad-d08a98b8304eb2c831907254095d6829fb98a95b.zip
Korrekte Reaktion auf Fehler in DaemonStatusRequest
Diffstat (limited to 'src/Client/CommandParser.h')
-rw-r--r--src/Client/CommandParser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Client/CommandParser.h b/src/Client/CommandParser.h
index e2b4d58..08b21a1 100644
--- a/src/Client/CommandParser.h
+++ b/src/Client/CommandParser.h
@@ -26,6 +26,10 @@
namespace Mad {
+namespace Common {
+class Exception;
+}
+
namespace Net {
class Connection;
@@ -74,6 +78,8 @@ class CommandParser {
void daemonListRequestFinished(const Net::Packets::NameListPacket &packet);
void daemonStatusRequestFinished(const Net::Packets::HostStatusPacket &packet);
+ void errorCallback(const Common::Exception &exception);
+
void requestFinished() {
activeRequests--;