diff options
Diffstat (limited to 'include/timer.h')
-rw-r--r-- | include/timer.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/timer.h b/include/timer.h new file mode 100644 index 000000000..b6fd62281 --- /dev/null +++ b/include/timer.h @@ -0,0 +1,15 @@ +class InspTimer +{ + private: + time_t trigger; + public: + virtual InspTimer(long secs_from_now) : trigger(time(NULL) + secs_from_now) { } + virtual ~InspTimer() { } + virtual time_t GetTimer() + { + return trigger; + } + virtual void Tick(time_t TIME) {} +}; + + |