diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-06-09 19:01:02 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-06-09 19:01:02 +0200 |
commit | 766c56a693e8b1bd4293459bb256abdc0515a0b5 (patch) | |
tree | da8e51003cf801344e22b0b2b2e28a48d6a8b74c /src/Client/InformationManager.cpp | |
parent | 452320b5ec31447a526735016fa07589cb848032 (diff) | |
download | mad-766c56a693e8b1bd4293459bb256abdc0515a0b5.tar mad-766c56a693e8b1bd4293459bb256abdc0515a0b5.zip |
Teile der Namespaces Common und Net in den neuen Namespace Core verschoben
Diffstat (limited to 'src/Client/InformationManager.cpp')
-rw-r--r-- | src/Client/InformationManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Client/InformationManager.cpp b/src/Client/InformationManager.cpp index 6bcdc8c..c5ff9f8 100644 --- a/src/Client/InformationManager.cpp +++ b/src/Client/InformationManager.cpp @@ -19,7 +19,7 @@ #include "InformationManager.h" #include "Requests/DaemonListRequest.h" -#include <Common/Logger.h> +#include <Core/Logger.h> #include <Common/RequestManager.h> @@ -39,7 +39,7 @@ void InformationManager::DaemonStateUpdateRequestHandler::handleRequest(boost::s if(host != informationManager.daemons.end()) host->second.setState((*packet)["state"]); else - Common::Logger::log(Common::Logger::WARNING, "Received a state update for an unknown host."); + Core::Logger::log(Core::Logger::WARNING, "Received a state update for an unknown host."); } ret->setType("OK"); @@ -68,11 +68,11 @@ void InformationManager::updateDaemonList(Common::Connection *con) { updating = true; } -void InformationManager::daemonListRequestFinished(boost::shared_ptr<const Common::XmlPacket> packet, Net::Exception error) { +void InformationManager::daemonListRequestFinished(boost::shared_ptr<const Common::XmlPacket> packet, Core::Exception error) { boost::lock_guard<boost::mutex> lock(mutex); if(!packet || error) { - Common::Logger::logf(Common::Logger::CRITICAL, "Host list request failed: %s", error.strerror().c_str()); + Core::Logger::logf(Core::Logger::CRITICAL, "Host list request failed: %s", error.strerror().c_str()); } else { const Common::XmlPacket::Element &hostInfo = (*packet)["hosts"]; |