From 2fbd48f9f927dbd93974e8e6d985815331a12b15 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 22 Feb 2009 03:53:14 +0000 Subject: fixed build on Windows (after logging chances) --- src/logTargets.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/logTargets.h') diff --git a/src/logTargets.h b/src/logTargets.h index 4f249d4..a7e9b60 100644 --- a/src/logTargets.h +++ b/src/logTargets.h @@ -43,6 +43,8 @@ #include #endif +#include "datatypes.h" + class LogTarget { public: @@ -178,6 +180,8 @@ private: class LogTargetWinEventlog : public LogTarget { public: + static WORD prioToEventLogType(int prio); + LogTargetWinEventlog(int prio, std::string conf); ~LogTargetWinEventlog(); @@ -187,11 +191,9 @@ public: static bool duplicateAllowed() { return false; }; LogTargetWinEventlog& setLogName(std::string l); - std::string getLogName() const { return logname; } + std::string getLogName() const { return logname; }; private: - static WORD prioToEventLogType(int prio); - std::string logname; HANDLE h_event_source; }; -- cgit v1.2.3