summaryrefslogtreecommitdiffstats
path: root/src/Common
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-09-13 00:56:59 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-09-13 00:56:59 +0200
commite0a00eda958375aed3268afcba6cebb9c2a9908b (patch)
tree5ef0949b4674ee981e3751c89e115353050be36f /src/Common
parent3a3751f02a3efdc079c3f79987da59b234813f16 (diff)
downloadmad-e0a00eda958375aed3268afcba6cebb9c2a9908b.tar
mad-e0a00eda958375aed3268afcba6cebb9c2a9908b.zip
Daemon hinzugef?gt; CoreStatusPacket hei?t jetzt HostStatusPacket
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Request/CoreStatusRequest.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Common/Request/CoreStatusRequest.h b/src/Common/Request/CoreStatusRequest.h
index fb16675..48c9302 100644
--- a/src/Common/Request/CoreStatusRequest.h
+++ b/src/Common/Request/CoreStatusRequest.h
@@ -23,7 +23,7 @@
#include "Request.h"
#include "../RequestManager.h"
#include <Net/Connection.h>
-#include <Net/Packets/CoreStatusPacket.h>
+#include <Net/Packets/HostStatusPacket.h>
#include <sigc++/signal.h>
@@ -33,12 +33,12 @@ namespace Request {
class CoreStatusRequest: public Request {
private:
- sigc::signal<void,const Net::Packets::CoreStatusPacket&> finished;
+ sigc::signal<void,const Net::Packets::HostStatusPacket&> finished;
CoreStatusRequest() {}
public:
- static bool send(Net::Connection *connection, RequestManager &requestManager, const sigc::slot<void,const Net::Packets::CoreStatusPacket&> &callback) {
+ static bool send(Net::Connection *connection, RequestManager &requestManager, const sigc::slot<void,const Net::Packets::HostStatusPacket&> &callback) {
CoreStatusRequest *request = new CoreStatusRequest();
request->finished.connect(callback);
@@ -68,7 +68,7 @@ class CoreStatusRequest: public Request {
if(packet.getType() != Net::Packet::OK)
return false; // TODO Logging
- finished(Net::Packets::CoreStatusPacket(packet));
+ finished(Net::Packets::HostStatusPacket(packet));
setFinished();
return true;