summaryrefslogtreecommitdiff
path: root/src/common/timer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/timer.hpp')
-rw-r--r--src/common/timer.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/timer.hpp b/src/common/timer.hpp
index a54cb36..7e187a3 100644
--- a/src/common/timer.hpp
+++ b/src/common/timer.hpp
@@ -24,4 +24,7 @@ interval_t do_timer(tick_t tick);
/// Stat a file, and return its modification time, truncated to seconds.
tick_t file_modified(ZString name);
+/// Check if there are any events at all scheduled.
+bool has_timers();
+
#endif // TIMER_HPP