diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-03-12 20:26:36 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-03-12 20:26:36 +0100 |
commit | 03e7a5b2fefa08d49ef34e70bfb1d52f0a7d828e (patch) | |
tree | 863952edd85e56578e0810adbdccea3a1bf47e61 /src/Common/Requests/FSInfoRequest.h | |
parent | de5fa3867791bf4bf84a52de8cd09821f9ce28ab (diff) | |
download | mad-03e7a5b2fefa08d49ef34e70bfb1d52f0a7d828e.tar mad-03e7a5b2fefa08d49ef34e70bfb1d52f0a7d828e.zip |
Request-Klassen vereinfacht
Diffstat (limited to 'src/Common/Requests/FSInfoRequest.h')
-rw-r--r-- | src/Common/Requests/FSInfoRequest.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Common/Requests/FSInfoRequest.h b/src/Common/Requests/FSInfoRequest.h index 39759ab..27a38ed 100644 --- a/src/Common/Requests/FSInfoRequest.h +++ b/src/Common/Requests/FSInfoRequest.h @@ -20,19 +20,15 @@ #ifndef MAD_COMMON_REQUESTS_FSINFOREQUEST_H_ #define MAD_COMMON_REQUESTS_FSINFOREQUEST_H_ -#include "../Request.h" +#include "SimpleRequest.h" namespace Mad { namespace Common { namespace Requests { -class FSInfoRequest : public Request { - protected: - virtual void sendRequest(Net::Connection *connection, uint16_t requestId); - virtual void handlePacket(Net::Connection*, uint16_t, const Common::XmlPacket &packet); - +class FSInfoRequest : public SimpleRequest { public: - FSInfoRequest(slot_type slot) : Request(slot) {} + FSInfoRequest(slot_type slot) : SimpleRequest("FSInfo", slot) {} }; } |