From 7b76c4d93d6bd0a7e7b41c09f64ec28abbacd706 Mon Sep 17 00:00:00 2001 From: martin-s Date: Wed, 18 Jun 2008 17:31:07 +0000 Subject: [PATCH] Add:Initial ideas of abstracting the event loop git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1139 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/event.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/navit/navit/event.c b/navit/navit/event.c index 64a7808..efbb499 100644 --- a/navit/navit/event.c +++ b/navit/navit/event.c @@ -36,3 +36,33 @@ void event_main_loop_quit(void) if (loop) g_main_loop_quit(loop); } + +void * +event_add_watch(int fd, int w, struct callback *cb) +{ +} + +void +event_remove_watch(void *data) +{ +} + +void * +event_add_timeout(int timeout, struct callback *cb) +{ +} + +void +event_remove_timeout(void *data) +{ +} + +void * +event_add_idle(struct callback *cb) +{ +} + +void +event_remove_idle(void *data) +{ +} -- 2.7.4