Leaked source code of windows server 2003
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.

53 lines
761 B

  1. /*
  2. * REVISIONS:
  3. * ane20Jan93: Initial Revision
  4. * cad27Dec93: include file madness
  5. * pcy08Apr94: Trim size, use static iterators, dead code removal
  6. * jps13Jul94: removed os2.h, caused problem in 1.x
  7. * cgm11Dec95: use LONG type; switch to Watcom 10.5 compiler for NLM
  8. */
  9. #ifndef __ERRLOG_H
  10. #define __ERRLOG_H
  11. #include "cdefine.h"
  12. #include "codes.h"
  13. #include "apcobj.h"
  14. _CLASSDEF(ErrorLog)
  15. class ErrorLog : public Obj {
  16. private:
  17. public:
  18. ErrorLog() {};
  19. virtual LONG GetMaximumSize(void)=0;
  20. virtual const PCHAR GetFileName(void)=0;
  21. virtual void SetMaximumSize(long)=0;
  22. virtual INT AppendRecord(const PCHAR)=0;
  23. virtual INT ClearFile()=0;
  24. };
  25. #endif