]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/timer.h
Add #include <sys/select.h> to select engine, we probably need it
[user/henk/code/inspircd.git] / include / timer.h
index 3c4fb0897df2e01659348b21161189fe30df8da9..ec00abe4ffa6fff0bc8081742f8a6e4979d21417 100644 (file)
@@ -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