From 766c56a693e8b1bd4293459bb256abdc0515a0b5 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 9 Jun 2009 19:01:02 +0200 Subject: Teile der Namespaces Common und Net in den neuen Namespace Core verschoben --- src/Daemon/Backends/NetworkLogger.h | 6 +++--- src/Daemon/Requests/LogRequest.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/Daemon') diff --git a/src/Daemon/Backends/NetworkLogger.h b/src/Daemon/Backends/NetworkLogger.h index 10f5d25..c0b123a 100644 --- a/src/Daemon/Backends/NetworkLogger.h +++ b/src/Daemon/Backends/NetworkLogger.h @@ -20,7 +20,7 @@ #ifndef MAD_DAEMON_BACKENDS_NETWORKLOGGER_H_ #define MAD_DAEMON_BACKENDS_NETWORKLOGGER_H_ -#include +#include #include #include @@ -28,12 +28,12 @@ namespace Mad { namespace Daemon { namespace Backends { -class NetworkLogger : public Common::Logger { +class NetworkLogger : public Core::Logger { private: Common::Connection *connection; protected: - virtual void logMessage(Common::Logger::MessageCategory category, Common::Logger::MessageLevel level, time_t messageTimestamp, const std::string &message) { + virtual void logMessage(Core::Logger::MessageCategory category, Core::Logger::MessageLevel level, time_t messageTimestamp, const std::string &message) { boost::shared_ptr request(new Requests::LogRequest(category, level, messageTimestamp, message)); Common::RequestManager::get()->sendRequest(connection, request); } diff --git a/src/Daemon/Requests/LogRequest.h b/src/Daemon/Requests/LogRequest.h index bf675e3..6ee3b3d 100644 --- a/src/Daemon/Requests/LogRequest.h +++ b/src/Daemon/Requests/LogRequest.h @@ -21,7 +21,7 @@ #define MAD_DAEMON_REQUESTS_LOGREQUEST_H_ #include -#include +#include #include namespace Mad { @@ -30,8 +30,8 @@ namespace Requests { class LogRequest : public Common::Request { private: - Common::Logger::MessageCategory category; - Common::Logger::MessageLevel level; + Core::Logger::MessageCategory category; + Core::Logger::MessageLevel level; time_t messageTimestamp; std::string message; @@ -39,7 +39,7 @@ class LogRequest : public Common::Request { virtual void sendRequest(); public: - LogRequest(Common::Logger::MessageCategory category0, Common::Logger::MessageLevel level0, time_t messageTimestamp0, const std::string &message0) + LogRequest(Core::Logger::MessageCategory category0, Core::Logger::MessageLevel level0, time_t messageTimestamp0, const std::string &message0) : category(category0), level(level0), messageTimestamp(messageTimestamp0), message(message0) {} }; -- cgit v1.2.3