From c812c92d1a1835f0bda783e709481188c8d92225 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 15 Mar 2014 19:34:59 -0700 Subject: Clean up header organization --- src/common/timer.hpp | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/common/timer.hpp (limited to 'src/common/timer.hpp') diff --git a/src/common/timer.hpp b/src/common/timer.hpp deleted file mode 100644 index 7e187a3..0000000 --- a/src/common/timer.hpp +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef TIMER_HPP -#define TIMER_HPP - -# include "timer.t.hpp" - -# include "../sanity.hpp" - -# include "../strings/fwd.hpp" - -// updated automatically when using milli_clock::now() -// which is done only by core.cpp -extern tick_t gettick_cache; - -inline -tick_t gettick(void) -{ - return gettick_cache; -} - -/// Do all timers scheduled before tick, and return the number of -/// milliseconds until the next timer happens -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 -- cgit v1.2.3-70-g09d2