X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Ftimer.h;h=0dda6876e01cb3225b09bbb9aaa41c6a5736000d;hb=f8127cf8c51d7991e4cf809f161701aac5276975;hp=0de6710ac865b43739d7a9dcf8e5fc4e846d23e8;hpb=44f42a13de52c8025942ddab42f51feb36821782;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/timer.h b/include/timer.h index 0de6710ac..0dda6876e 100644 --- a/include/timer.h +++ b/include/timer.h @@ -19,8 +19,7 @@ */ -#ifndef INSPIRCD_TIMER_H -#define INSPIRCD_TIMER_H +#pragma once /** Timer class for one-second resolution timers * Timer provides a facility which allows module @@ -137,11 +136,6 @@ class CoreExport TimerManager /** Add an Timer * @param T an Timer derived class to add - * @param secs_from_now You may set this to the number of seconds - * from the current time when the timer will tick, or you may just - * leave this unset and the values set by the Timers constructor - * will be used. This is used internally for re-triggering repeating - * timers. */ void AddTimer(Timer *T); @@ -154,6 +148,3 @@ class CoreExport TimerManager */ static bool TimerComparison( Timer *one, Timer*two); }; - -#endif -