summaryrefslogtreecommitdiff
path: root/src/common/timer.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-03-14 19:25:35 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-03-15 11:47:05 -0700
commit3c4f4f003d9fdbf759e42ced4fece8dd6a506298 (patch)
treea7cc1d07995a6330c22345935968da40baae6ba9 /src/common/timer.hpp
parentf2757bbfd049777f6fa9089bd33e38f80290c039 (diff)
downloadtmwa-3c4f4f003d9fdbf759e42ced4fece8dd6a506298.tar.gz
tmwa-3c4f4f003d9fdbf759e42ced4fece8dd6a506298.tar.bz2
tmwa-3c4f4f003d9fdbf759e42ced4fece8dd6a506298.tar.xz
tmwa-3c4f4f003d9fdbf759e42ced4fece8dd6a506298.zip
Fix session death and shutdown when bored
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