1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2009 InspIRCd Development Team
6 * See: http://wiki.inspircd.org/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
14 #ifndef __TIMESYNC_H__
15 #define __TIMESYNC_H__
19 class ModuleSpanningTree;
20 class SpanningTreeUtilities;
23 /** Create a timer which recurs every second, we inherit from Timer.
24 * Timer is only one-shot however, so at the end of each Tick() we simply
25 * insert another of ourselves into the pending queue :)
27 class CacheRefreshTimer : public Timer
31 SpanningTreeUtilities *Utils;
33 CacheRefreshTimer(InspIRCd *Instance, SpanningTreeUtilities* Util);
34 virtual void Tick(time_t TIME);