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;
22 /** Create a timer which recurs every second, we inherit from Timer.
23 * Timer is only one-shot however, so at the end of each Tick() we simply
24 * insert another of ourselves into the pending queue :)
26 class CacheRefreshTimer : public Timer
29 SpanningTreeUtilities *Utils;
31 CacheRefreshTimer(SpanningTreeUtilities* Util);
32 virtual void Tick(time_t TIME);