EventLog.h
Go to the documentation of this file.00001
00009 #ifndef __EVENTLOG_H__
00010 #define __EVENTLOG_H__
00011 #pragma once
00012
00013 #include <string>
00014
00015
00021 class CEventLog
00022 {
00023 public:
00024 CEventLog();
00025 virtual ~CEventLog();
00026
00027 public:
00028 static bool AddEventSource();
00029 static void Write(int intEventType, int intEventCat, int eventID, const char* cstrMessage);
00030
00031 private:
00032 static char* m_cstrEventSource;
00033 static bool m_bSourceAdded;
00034 };
00035
00036
00037 #endif
00038