summaryrefslogtreecommitdiff
path: root/navit/event.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-04-30 19:36:17 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-04-30 19:36:17 +0000
commitbf67d39649921c4f5895403378f1014ea1bfd4d0 (patch)
tree3904ed8a92f6328c5ee7e19bd110324c739ec0df /navit/event.h
parent169af4f0a102fd74b3fa196277eb89e798524de6 (diff)
downloadnavit-svn-bf67d39649921c4f5895403378f1014ea1bfd4d0.tar.gz
Fix:gui_internal:Prevent crash after terminating event loop
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3212 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/event.h')
-rw-r--r--navit/event.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/navit/event.h b/navit/event.h
index 739baad0..3b166460 100644
--- a/navit/event.h
+++ b/navit/event.h
@@ -48,16 +48,23 @@ struct event_methods {
/* prototypes */
+enum event_watch_cond;
+struct callback;
+struct callback_list;
+struct event_idle;
+struct event_timeout;
+struct event_watch;
void event_main_loop_run(void);
void event_main_loop_quit(void);
+int event_main_loop_has_quit(void);
struct event_watch *event_add_watch(void *fd, enum event_watch_cond cond, struct callback *cb);
void event_remove_watch(struct event_watch *ev);
struct event_timeout *event_add_timeout(int timeout, int multi, struct callback *cb);
void event_remove_timeout(struct event_timeout *ev);
struct event_idle *event_add_idle(int priority, struct callback *cb);
void event_remove_idle(struct event_idle *ev);
-int event_request_system(const char *system, const char *requestor);
void event_call_callback(struct callback_list *cb);
+int event_request_system(const char *system, const char *requestor);
/* end of prototypes */
#ifdef __cplusplus
}