]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/timer.h
Merge pull request #461 from SaberUK/master+header-cleanup
[user/henk/code/inspircd.git] / include / timer.h
index 0de6710ac865b43739d7a9dcf8e5fc4e846d23e8..0dda6876e01cb3225b09bbb9aaa41c6a5736000d 100644 (file)
@@ -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
-