diff options
Diffstat (limited to 'src/Common/Requests/FSInfoRequest.h')
-rw-r--r-- | src/Common/Requests/FSInfoRequest.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Common/Requests/FSInfoRequest.h b/src/Common/Requests/FSInfoRequest.h index 9ae7673..9a6ba14 100644 --- a/src/Common/Requests/FSInfoRequest.h +++ b/src/Common/Requests/FSInfoRequest.h @@ -20,20 +20,19 @@ #ifndef MAD_COMMON_REQUESTS_FSINFOREQUEST_H_ #define MAD_COMMON_REQUESTS_FSINFOREQUEST_H_ -#include "../Request.h" -#include <Net/Packets/FSInfoPacket.h> +#include "../XmlRequest.h" namespace Mad { namespace Common { namespace Requests { -class FSInfoRequest : public Request<Net::Packets::FSInfoPacket> { +class FSInfoRequest : public XmlRequest { protected: virtual void sendRequest(Net::Connection *connection, uint16_t requestId); - virtual void handlePacket(Net::Connection *connection, const Net::Packet &packet); + virtual void handlePacket(Net::Connection*, uint16_t, const Common::XmlPacket &packet); public: - FSInfoRequest(slot_type slot) : Request<Net::Packets::FSInfoPacket>(slot) {} + FSInfoRequest(slot_type slot) : XmlRequest(slot) {} }; } |