diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-04 00:24:42 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-04 00:24:42 +0200 |
commit | 1eb9f4df776adc5dc5cf74a587288199bbf8b703 (patch) | |
tree | 42c3950b6d69c65f859db0a4d290c5408597a7bd /src/Common/Requests | |
parent | 197582bcf7458cafb571fde7d37ef4415d0d8f4a (diff) | |
download | mad-1eb9f4df776adc5dc5cf74a587288199bbf8b703.tar mad-1eb9f4df776adc5dc5cf74a587288199bbf8b703.zip |
Renamed: XmlPacket -> XmlData
Diffstat (limited to 'src/Common/Requests')
-rw-r--r-- | src/Common/Requests/DisconnectRequest.cpp | 4 | ||||
-rw-r--r-- | src/Common/Requests/DisconnectRequest.h | 2 | ||||
-rw-r--r-- | src/Common/Requests/IdentifyRequest.cpp | 2 | ||||
-rw-r--r-- | src/Common/Requests/SimpleRequest.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/Common/Requests/DisconnectRequest.cpp b/src/Common/Requests/DisconnectRequest.cpp index 523ef2a..c2b7b71 100644 --- a/src/Common/Requests/DisconnectRequest.cpp +++ b/src/Common/Requests/DisconnectRequest.cpp @@ -24,13 +24,13 @@ namespace Common { namespace Requests { void DisconnectRequest::sendRequest() { - XmlPacket packet; + XmlData packet; packet.setType("Disconnect"); sendPacket(packet); } -void DisconnectRequest::handlePacket(boost::shared_ptr<const XmlPacket> packet) { +void DisconnectRequest::handlePacket(boost::shared_ptr<const XmlData> packet) { if(packet->getType() == "Error") { signalFinished(Core::Exception(packet->get<const std::string&>("Where"), static_cast<Core::Exception::ErrorCode>(packet->get<long>("ErrorCode")), packet->get<long>("SubCode"), packet->get<long>("SubSubCode"))); diff --git a/src/Common/Requests/DisconnectRequest.h b/src/Common/Requests/DisconnectRequest.h index a92c7e7..a905a56 100644 --- a/src/Common/Requests/DisconnectRequest.h +++ b/src/Common/Requests/DisconnectRequest.h @@ -31,7 +31,7 @@ namespace Requests { class MAD_COMMON_EXPORT DisconnectRequest : public Request { protected: virtual void sendRequest(); - virtual void handlePacket(boost::shared_ptr<const XmlPacket> packet); + virtual void handlePacket(boost::shared_ptr<const XmlData> packet); public: DisconnectRequest(Application *application) : Request(application) {} diff --git a/src/Common/Requests/IdentifyRequest.cpp b/src/Common/Requests/IdentifyRequest.cpp index fc31c3f..98868ef 100644 --- a/src/Common/Requests/IdentifyRequest.cpp +++ b/src/Common/Requests/IdentifyRequest.cpp @@ -24,7 +24,7 @@ namespace Common { namespace Requests { void IdentifyRequest::sendRequest() { - Common::XmlPacket packet; + Common::XmlData packet; packet.setType("Identify"); if(!hostname.empty()) diff --git a/src/Common/Requests/SimpleRequest.cpp b/src/Common/Requests/SimpleRequest.cpp index a16e1d4..452b6da 100644 --- a/src/Common/Requests/SimpleRequest.cpp +++ b/src/Common/Requests/SimpleRequest.cpp @@ -24,7 +24,7 @@ namespace Common { namespace Requests { void SimpleRequest::sendRequest() { - XmlPacket packet; + XmlData packet; packet.setType(type); sendPacket(packet); |