00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CARCHLOGWINDOWS_H
00016 #define CARCHLOGWINDOWS_H
00017
00018 #define WIN32_LEAN_AND_MEAN
00019
00020 #include "IArchLog.h"
00021 #include <windows.h>
00022
00023 #define ARCH_LOG CArchLogWindows
00024
00026 class CArchLogWindows : public IArchLog {
00027 public:
00028 CArchLogWindows();
00029 virtual ~CArchLogWindows();
00030
00031
00032 virtual void openLog(const char* name);
00033 virtual void closeLog();
00034 virtual void showLog(bool showIfEmpty);
00035 virtual void writeLog(ELevel, const char*);
00036
00037 private:
00038 HANDLE m_eventLog;
00039 };
00040
00041 #endif