summaryrefslogtreecommitdiffstats
path: root/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-03-04 23:14:34 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-03-04 23:14:34 +0100
commitde5fa3867791bf4bf84a52de8cd09821f9ce28ab (patch)
treec343a7fcdeabe9f982c968d5241d672c351942a7 /src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
parentc316a3115bf790fb623f0765dd6b04f781af5b51 (diff)
downloadmad-de5fa3867791bf4bf84a52de8cd09821f9ce28ab.tar
mad-de5fa3867791bf4bf84a52de8cd09821f9ce28ab.zip
XmlRequest{,Handler} in Request{,Handler} umbenannt
Diffstat (limited to 'src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp')
-rw-r--r--src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp b/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
index c0e4b9f..b9dc030 100644
--- a/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
+++ b/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
@@ -48,7 +48,7 @@ void DaemonFSInfoRequestHandler::handlePacket(Net::Connection *connection, uint1
try {
Net::Connection *daemonCon = ConnectionManager::get()->getDaemonConnection(packet["daemon"]);
- Common::RequestManager::get()->sendRequest(daemonCon, std::auto_ptr<Common::XmlRequest>(new Common::Requests::FSInfoRequest(sigc::mem_fun(this, &DaemonFSInfoRequestHandler::requestFinished))));
+ Common::RequestManager::get()->sendRequest(daemonCon, std::auto_ptr<Common::Request>(new Common::Requests::FSInfoRequest(sigc::mem_fun(this, &DaemonFSInfoRequestHandler::requestFinished))));
}
catch(Common::Exception &e) {
Common::XmlPacket ret;
@@ -62,7 +62,7 @@ void DaemonFSInfoRequestHandler::handlePacket(Net::Connection *connection, uint1
}
}
-void DaemonFSInfoRequestHandler::requestFinished(const Common::XmlRequest &request) {
+void DaemonFSInfoRequestHandler::requestFinished(const Common::Request &request) {
try {
const Common::XmlPacket &packet = request.getResult();
con->send(packet.encode(requestId));