X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Ftimer.h;h=04158ebb9d41443262153672a929b5a9df3082d1;hb=4498f1abd163b140efcbbd9e75173665c9b1c29f;hp=05ce136d2b52eedc940b66057c59e7a740d6c2f8;hpb=b31f343eacdf248aebd6869f2190a3464fd5d555;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/timer.h b/include/timer.h index 05ce136d2..04158ebb9 100644 --- a/include/timer.h +++ b/include/timer.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2009 InspIRCd Development Team + * InspIRCd: (C) 2002-2010 InspIRCd Development Team * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see @@ -14,8 +14,6 @@ #ifndef INSPIRCD_TIMER_H #define INSPIRCD_TIMER_H -//class InspIRCd; - /** Timer class for one-second resolution timers * Timer provides a facility which allows module * developers to create one-shot timers. The timer @@ -118,13 +116,11 @@ class CoreExport TimerManager */ std::vector Timers; - /** Creating server instance - */ - InspIRCd* ServerInstance; public: /** Constructor */ - TimerManager(InspIRCd* Instance); + TimerManager(); + ~TimerManager(); /** Tick all pending Timers * @param TIME the current system time