-// -*- mode: C++; indent-tabs-mode: nil; -*-
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifdef HAVE_CONFIG_H
# include "../config.h"
const OBTimer* const timer = timerList.top();
gettimeofday(&now, 0);
- tm = timer->timeRemaining(now);
+ tm = timer->remainingTime(now);
timeout = &tm;
}
timerList.pop();
- timer->fireTimeout();
- timer->halt();
- if (timer->isRecurring())
+ timer->fire();
+ if (timer->recurring())
timer->start();
}
}