summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/cachetimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/cachetimer.h')
-rw-r--r--src/modules/m_spanningtree/cachetimer.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/modules/m_spanningtree/cachetimer.h b/src/modules/m_spanningtree/cachetimer.h
index bad1b7419..89933cc4b 100644
--- a/src/modules/m_spanningtree/cachetimer.h
+++ b/src/modules/m_spanningtree/cachetimer.h
@@ -17,13 +17,7 @@
*/
-#ifndef M_SPANNINGTREE_CACHETIMER_H
-#define M_SPANNINGTREE_CACHETIMER_H
-
-#include "timer.h"
-
-class ModuleSpanningTree;
-class SpanningTreeUtilities;
+#pragma once
/** 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
@@ -31,11 +25,7 @@ class SpanningTreeUtilities;
*/
class CacheRefreshTimer : public Timer
{
- private:
- SpanningTreeUtilities *Utils;
public:
- CacheRefreshTimer(SpanningTreeUtilities* Util);
- virtual void Tick(time_t TIME);
+ CacheRefreshTimer();
+ bool Tick(time_t TIME);
};
-
-#endif