X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftimer.cc;h=76fb022d37a0327c374c83dab3921f4207241402;hb=ace8c8896aa13a6fc4e489277cf9c96f49175322;hp=c785b3456759e3132b10321efcd3cfa101dad584;hpb=37e56007680a6664967e0e71ac52981654def6a6;p=chaz%2Fopenbox diff --git a/src/timer.cc b/src/timer.cc index c785b345..76fb022d 100644 --- a/src/timer.cc +++ b/src/timer.cc @@ -4,10 +4,11 @@ # include "../config.h" #endif // HAVE_CONFIG_H -#include "basedisplay.hh" #include "timer.hh" #include "util.hh" +namespace ob { + BTimer::BTimer(TimerQueueManager *m, TimeoutHandler *h) { manager = m; handler = h; @@ -88,3 +89,5 @@ bool BTimer::shouldFire(const timeval &tm) const { return ! ((tm.tv_sec < end.tv_sec) || (tm.tv_sec == end.tv_sec && tm.tv_usec < end.tv_usec)); } + +}