windows-nt/Source/XPSP1/NT/ds/netapi/svcdlls/upssvc/apcsmart/eventime.h

38 lines
824 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*
* 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