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.
37 lines
824 B
37 lines
824 B
/*
|
|
* REVISIONS:
|
|
* pcy02Dec92: Removed include of typedefs.h
|
|
* jod07Dec92: Moved the Destructor out of line.
|
|
* ane11Jan93: Added copy constructor
|
|
* cad09Jul93: added getid
|
|
* mwh05May94: #include file madness , part 2
|
|
*/
|
|
|
|
#ifndef _EVENTTIME_H
|
|
#define _EVENTTIME_H
|
|
|
|
//#include "apc.h"
|
|
//#include "_defs.h"
|
|
#include "event.h"
|
|
#include "timer.h"
|
|
|
|
_CLASSDEF(Timer)
|
|
_CLASSDEF(UpdateObj)
|
|
_CLASSDEF(EventTimer)
|
|
|
|
class EventTimer : public Timer
|
|
{
|
|
protected:
|
|
PEvent theEvent;
|
|
PUpdateObj theUpdateableObject;
|
|
|
|
public:
|
|
EventTimer(PEvent anEvent,PUpdateObj anUpdateObj,ULONG MilliSecondDelay);
|
|
EventTimer(REventTimer aTimer);
|
|
virtual ~EventTimer();
|
|
virtual INT IsA() const {return EVENTTIMER;};
|
|
virtual INT GetEventID() {return theEvent ? theEvent->GetId() : 0;};
|
|
virtual VOID Execute();
|
|
};
|
|
|
|
#endif
|