Mercurial > pidgin
diff src/core.h @ 7082:25a616f16b6c
[gaim-migrate @ 7647]
Added more core wrappers for the glib mainloops, and replaced the last
GTK+ code in OSCAR with them.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 30 Sep 2003 22:55:22 +0000 |
parents | feb3d21a7794 |
children | c8337162c712 |
line wrap: on
line diff
--- a/src/core.h Tue Sep 30 22:49:00 2003 +0000 +++ b/src/core.h Tue Sep 30 22:55:22 2003 +0000 @@ -64,6 +64,13 @@ const char *gaim_core_get_version(void); /** + * Returns whether or not there are any mainloop events pending. + * + * @return TRUE if there are mainloop events pending. FALSE otherwise. + */ +gboolean gaim_core_mainloop_events_pending(void); + +/** * Iterates once through the gaim mainloop. * * This is in actuality a wrapper around glib's mainloop iteration @@ -74,6 +81,11 @@ void gaim_core_mainloop_iteration(void); /** + * Iterates through all remaining events in the mainloop. + */ +void gaim_core_mainloop_finish_events(void); + +/** * Returns the ID of the UI that is using the core. * * @return The ID of the UI that is currently using the core.