Add:Initial ideas of abstracting the event loop
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 18 Jun 2008 17:31:07 +0000 (17:31 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 18 Jun 2008 17:31:07 +0000 (17:31 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1139 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/event.c

index 64a7808..efbb499 100644 (file)
@@ -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)
+{
+}