X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Ftimer.h;h=ec00abe4ffa6fff0bc8081742f8a6e4979d21417;hb=40b67389a9ac1ef3f37ce93dd95e76c474edd511;hp=3c4fb0897df2e01659348b21161189fe30df8da9;hpb=572a7b503b434367e57ba1624f415e1c472e18a2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/timer.h b/include/timer.h index 3c4fb0897..ec00abe4f 100644 --- a/include/timer.h +++ b/include/timer.h @@ -14,6 +14,9 @@ * --------------------------------------------------- */ +#ifndef INSPIRCD_TIMER_H +#define INSPIRCD_TIMER_H + /** Timer class for one-second resolution timers * InspTimer provides a facility which allows module * developers to create one-shot timers. The timer @@ -24,7 +27,7 @@ * your object (which you should override) will be called * at the given time. */ -class InspTimer +class InspTimer : public Extensible { private: /** The triggering time @@ -55,3 +58,4 @@ void TickTimers(time_t TIME); void AddTimer(InspTimer* T); void TickMissedTimers(time_t TIME); +#endif