mirror of https://github.com/tongzx/nt5src
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
57 lines
772 B
/*
|
|
*
|
|
* NOTES:
|
|
*
|
|
* REVISIONS:
|
|
* ker05Nov92: Initial Revision
|
|
* pcy14Dec92: if C_OS2 around os2.h, add cdefine.h, and change object.h to
|
|
* apcobj.h
|
|
* ane18Jan93: Added ClearFile
|
|
* pcy08Apr94: Trim size, use static iterators, dead code removal
|
|
* cgm11Dec95: use LONG type; switch to Watcom 10.5 compiler for NLM
|
|
*/
|
|
|
|
#ifndef __EVNTLOG_H
|
|
#define __EVNTLOG_H
|
|
|
|
|
|
#include "cdefine.h"
|
|
|
|
#include "codes.h"
|
|
#include "apcobj.h"
|
|
|
|
_CLASSDEF(EventLog)
|
|
|
|
|
|
class EventLog : public Obj {
|
|
|
|
private:
|
|
|
|
public:
|
|
EventLog() {};
|
|
virtual LONG GetMaximumSize(void)=0;
|
|
virtual const PCHAR GetFileName(void)=0;
|
|
virtual void SetMaximumSize(long)=0;
|
|
virtual INT AppendRecord(const PCHAR)=0;
|
|
virtual INT ClearFile()=0;
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|