]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/cachetimer.h
Remove trailing whitespace from various source files.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / cachetimer.h
index bad1b7419e5649250484007463c0d2954df4a64d..489194b869b2a36befd775c2271e5925dee4cfdf 100644 (file)
  */
 
 
-#ifndef M_SPANNINGTREE_CACHETIMER_H
-#define M_SPANNINGTREE_CACHETIMER_H
+#pragma once
 
-#include "timer.h"
-
-class ModuleSpanningTree;
-class SpanningTreeUtilities;
-
-/** Create a timer which recurs every second, we inherit from Timer.
- * Timer is only one-shot however, so at the end of each Tick() we simply
- * insert another of ourselves into the pending queue :)
+/** Timer that fires when we need to refresh the IP cache of servers
  */
 class CacheRefreshTimer : public Timer
 {
- private:
-       SpanningTreeUtilities *Utils;
  public:
-       CacheRefreshTimer(SpanningTreeUtilities* Util);
-       virtual void Tick(time_t TIME);
+       CacheRefreshTimer();
+       bool Tick(time_t TIME) CXX11_OVERRIDE;
 };
-
-#endif