summaryrefslogtreecommitdiff
path: root/otk/timerqueuemanager.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-11 19:17:13 +0000
committerDana Jansens <danakj@orodu.net>2003-01-11 19:17:13 +0000
commit8f8acc24933830d4f5784616b9b0c5896bde0b93 (patch)
treee34d995f6ef854e3ac2b365326ffabf3dad265da /otk/timerqueuemanager.cc
parent684405eec8553918b62e334bffe29eb4712ec95c (diff)
rm prefixes for all elements in the otk namepsace
Diffstat (limited to 'otk/timerqueuemanager.cc')
-rw-r--r--otk/timerqueuemanager.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/otk/timerqueuemanager.cc b/otk/timerqueuemanager.cc
index 79335154..1d6b50ce 100644
--- a/otk/timerqueuemanager.cc
+++ b/otk/timerqueuemanager.cc
@@ -9,19 +9,19 @@
namespace otk {
-void OBTimerQueueManager::fire(bool wait)
+void TimerQueueManager::fire(bool wait)
{
fd_set rfds;
timeval now, tm, *timeout = (timeval *) 0;
- const int xfd = ConnectionNumber(otk::OBDisplay::display);
+ const int xfd = ConnectionNumber(Display::display);
FD_ZERO(&rfds);
FD_SET(xfd, &rfds); // break on any x events
if (wait) {
if (! timerList.empty()) {
- const OBTimer* const timer = timerList.top();
+ const Timer* const timer = timerList.top();
gettimeofday(&now, 0);
tm = timer->remainingTime(now);
@@ -40,7 +40,7 @@ void OBTimerQueueManager::fire(bool wait)
// timer->start() and timer->shouldFire() is within the timer's period
// then the timer will keep firing. This should be VERY near impossible.
while (! timerList.empty()) {
- OBTimer *timer = timerList.top();
+ Timer *timer = timerList.top();
if (! timer->shouldFire(now))
break;
@@ -53,13 +53,13 @@ void OBTimerQueueManager::fire(bool wait)
}
-void OBTimerQueueManager::addTimer(OBTimer *timer)
+void TimerQueueManager::addTimer(Timer *timer)
{
assert(timer);
timerList.push(timer);
}
-void OBTimerQueueManager::removeTimer(OBTimer* timer)
+void TimerQueueManager::removeTimer(Timer* timer)
{
assert(timer);
timerList.release(timer);