Search
lxdream.org :: lxdream/src/gui.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui.h
changeset 1019:87f191f92f8f
prev1015:ad448bedc48a
next1036:af7b0c5905dd
author nkeynes
date Wed Jun 03 10:29:16 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change Allow multiple input hooks to be registered for the same key - useful to allow
eg binding the same hotkey for run/stop so that it works as a toggle.
file annotate diff log raw
1.1 --- a/src/gui.h Tue Jun 02 23:16:26 2009 +0000
1.2 +++ b/src/gui.h Wed Jun 03 10:29:16 2009 +0000
1.3 @@ -77,11 +77,12 @@
1.4 */
1.5 void gui_update_io_activity( io_activity_type activity, gboolean active );
1.6
1.7 +typedef void (*do_later_callback_t)(void);
1.8 /**
1.9 - * Queue an event to call dreamcast_run() at the next opportunity (used to
1.10 - * avoid invoking dreamcast_run() directly from the middle of things.
1.11 + * Queue an event to call a function at the next opportunity (used to
1.12 + * avoid invoking eg dreamcast_run directly from the middle of other processing).
1.13 */
1.14 -void gui_run_later(void);
1.15 +void gui_do_later( do_later_callback_t func );
1.16
1.17 #ifdef __cplusplus
1.18 }
.