comparison src/core.h @ 6182:0342af6a8b36

[gaim-migrate @ 6668] Added a function for causing one iteration through the "gaim mainloop," which is just a nice abstractive (?) way of causing one iteration through the glib mainloop. All non-glib/gtk UIs must call this in a timer or somewhere. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 17 Jul 2003 22:09:31 +0000
parents 16e384bb7fbf
children 2d3c3a0cb7b1
comparison
equal deleted inserted replaced
6181:29fef9695c4d 6182:0342af6a8b36
49 /** 49 /**
50 * Quits the core of gaim, which, depending on the UI, may quit the 50 * Quits the core of gaim, which, depending on the UI, may quit the
51 * application using the gaim core. 51 * application using the gaim core.
52 */ 52 */
53 void gaim_core_quit(void); 53 void gaim_core_quit(void);
54
55 /**
56 * Iterates once through the gaim mainloop.
57 *
58 * This is in actuality a wrapper around glib's mainloop iteration
59 * function, but provides a nice, healthy level of abstraction.
60 *
61 * All UIs not using glib must call this in a timer.
62 */
63 void gaim_core_mainloop_iteration(void);
54 64
55 /** 65 /**
56 * Returns the ID of the UI that is using the core. 66 * Returns the ID of the UI that is using the core.
57 * 67 *
58 * @return The ID of the UI that is currently using the core. 68 * @return The ID of the UI that is currently using the core.