diff options
author | Christian Pointner <equinox@anytun.org> | 2009-02-22 03:53:14 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-02-22 03:53:14 +0000 |
commit | 2fbd48f9f927dbd93974e8e6d985815331a12b15 (patch) | |
tree | 1dfd1cd14f1ab125d0ec114fefb089fa763cb0ca /src/logTargets.h | |
parent | added extended logging capability (diff) |
fixed build on Windows (after logging chances)
Diffstat (limited to 'src/logTargets.h')
-rw-r--r-- | src/logTargets.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 <fstream> #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; }; |