Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
772 B

  1. /*
  2. *
  3. * NOTES:
  4. *
  5. * REVISIONS:
  6. * ker05Nov92: Initial Revision
  7. * pcy14Dec92: if C_OS2 around os2.h, add cdefine.h, and change object.h to
  8. * apcobj.h
  9. * ane18Jan93: Added ClearFile
  10. * pcy08Apr94: Trim size, use static iterators, dead code removal
  11. * cgm11Dec95: use LONG type; switch to Watcom 10.5 compiler for NLM
  12. */
  13. #ifndef __EVNTLOG_H
  14. #define __EVNTLOG_H
  15. #include "cdefine.h"
  16. #include "codes.h"
  17. #include "apcobj.h"
  18. _CLASSDEF(EventLog)
  19. class EventLog : public Obj {
  20. private:
  21. public:
  22. EventLog() {};
  23. virtual LONG GetMaximumSize(void)=0;
  24. virtual const PCHAR GetFileName(void)=0;
  25. virtual void SetMaximumSize(long)=0;
  26. virtual INT AppendRecord(const PCHAR)=0;
  27. virtual INT ClearFile()=0;
  28. };
  29. #endif