windows-nt/Source/XPSP1/NT/ds/netapi/svcdlls/upssvc/apcsmart/eventime.h
2020-09-26 16:20:57 +08:00

38 lines
824 B
C++

/*
* 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