summaryrefslogtreecommitdiff
path: root/navit/event.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-13 22:10:29 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-13 22:10:29 +0000
commita69fe3f6d4f9c728cd5461660e92b75e1762510c (patch)
tree13bf84c903f40d955d85648d4814fbd628b8567e /navit/event.h
parent56fc47822c355ed966638aa2649f667d03c8cadb (diff)
downloadnavit-a69fe3f6d4f9c728cd5461660e92b75e1762510c.tar.gz
Add:Core:Improved and implemented idle callback
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1790 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/event.h')
-rw-r--r--navit/event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/event.h b/navit/event.h
index c31e8b77f..e404d019e 100644
--- a/navit/event.h
+++ b/navit/event.h
@@ -41,7 +41,7 @@ struct event_methods {
void (*remove_watch)(struct event_watch *ev);
struct event_timeout *(*add_timeout)(int timeout, int multi, struct callback *cb);
void (*remove_timeout)(struct event_timeout *ev);
- struct event_idle *(*add_idle)(struct callback *cb);
+ struct event_idle *(*add_idle)(int priority, struct callback *cb);
void (*remove_idle)(struct event_idle *ev);
void (*call_callback)(struct callback_list *cb);
};
@@ -54,7 +54,7 @@ struct event_watch *event_add_watch(void *fd, enum event_watch_cond cond, struct
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(struct callback *cb);
+struct event_idle *event_add_idle(int priority, struct callback *cb);
void event_remove_idle(struct event_idle *ev);
int event_request_system(char *system, char *requestor);
void event_call_callback(struct callback_list *cb);