diff options
Diffstat (limited to 'src/Common/Request')
-rw-r--r-- | src/Common/Request/CoreStatusRequest.h | 8 |
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; |