Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
7081:73da9c3ad9ac | 7082:25a616f16b6c |
---|---|
62 * @return The version of the core library. | 62 * @return The version of the core library. |
63 */ | 63 */ |
64 const char *gaim_core_get_version(void); | 64 const char *gaim_core_get_version(void); |
65 | 65 |
66 /** | 66 /** |
67 * Returns whether or not there are any mainloop events pending. | |
68 * | |
69 * @return TRUE if there are mainloop events pending. FALSE otherwise. | |
70 */ | |
71 gboolean gaim_core_mainloop_events_pending(void); | |
72 | |
73 /** | |
67 * Iterates once through the gaim mainloop. | 74 * Iterates once through the gaim mainloop. |
68 * | 75 * |
69 * This is in actuality a wrapper around glib's mainloop iteration | 76 * This is in actuality a wrapper around glib's mainloop iteration |
70 * function, but provides a nice, healthy level of abstraction. | 77 * function, but provides a nice, healthy level of abstraction. |
71 * | 78 * |
72 * All UIs not using glib must call this in a timer. | 79 * All UIs not using glib must call this in a timer. |
73 */ | 80 */ |
74 void gaim_core_mainloop_iteration(void); | 81 void gaim_core_mainloop_iteration(void); |
82 | |
83 /** | |
84 * Iterates through all remaining events in the mainloop. | |
85 */ | |
86 void gaim_core_mainloop_finish_events(void); | |
75 | 87 |
76 /** | 88 /** |
77 * Returns the ID of the UI that is using the core. | 89 * Returns the ID of the UI that is using the core. |
78 * | 90 * |
79 * @return The ID of the UI that is currently using the core. | 91 * @return The ID of the UI that is currently using the core. |