diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-08-18 15:58:17 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-08-18 15:58:17 +0200 |
commit | db5ad2e09a6b38e841463dbe7eb076492b62c948 (patch) | |
tree | 5907f6416e35cbd25432a5f1f6dc9664d36aa73c /src/Core/Application.h | |
parent | 5da7b0847bac2a5abec95b9ac1701b74baae8964 (diff) | |
download | mad-db5ad2e09a6b38e841463dbe7eb076492b62c948.tar mad-db5ad2e09a6b38e841463dbe7eb076492b62c948.zip |
Mad funktioniert jetzt unter Windows
Diffstat (limited to 'src/Core/Application.h')
-rw-r--r-- | src/Core/Application.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Core/Application.h b/src/Core/Application.h index fece1cf..3951b5c 100644 --- a/src/Core/Application.h +++ b/src/Core/Application.h @@ -20,6 +20,8 @@ #ifndef MAD_CORE_APPLICATION_H_ #define MAD_CORE_APPLICATION_H_ +#include "export.h" + #include "LoggerBase.h" #include <cstdarg> @@ -35,7 +37,7 @@ class ConfigManager; class LogManager; class ThreadManager; -class Application : private boost::noncopyable { +class MAD_CORE_EXPORT Application : private boost::noncopyable { private: boost::asio::io_service ioService; @@ -70,15 +72,15 @@ class Application : private boost::noncopyable { void log(LoggerBase::MessageCategory category, LoggerBase::MessageLevel level, const std::string &message); void log(LoggerBase::MessageCategory category, const std::string &message) { - log(category, LoggerBase::DEFAULT, message); + log(category, LoggerBase::LOG_DEFAULT, message); } void log(LoggerBase::MessageLevel level, const std::string &message) { - log(LoggerBase::GENERAL, level, message); + log(LoggerBase::LOG_GENERAL, level, message); } void log(const std::string &message) { - log(LoggerBase::GENERAL, LoggerBase::DEFAULT, message); + log(LoggerBase::LOG_GENERAL, LoggerBase::LOG_DEFAULT, message); } |