diff src/core.h @ 8273:f24172f53650

[gaim-migrate @ 8997] This is Scott Lamb's eventloop abstraction patch. If it breaks things, Scott Lamb will be glad to take the punishment. If it doesn't, it should make integration into other event loops easier. Well, no, not easier, harder actually, but it'll be done more appropriately and less hackily.. er, hacky. Is hackily a word? committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 17 Feb 2004 02:17:48 +0000
parents fa6395637e2c
children 11e465b55fe6
line wrap: on
line diff
--- a/src/core.h	Tue Feb 17 01:33:20 2004 +0000
+++ b/src/core.h	Tue Feb 17 02:17:48 2004 +0000
@@ -60,10 +60,10 @@
 
 /**
  * Calls gaim_core_quit().  This can be used as the function 
- * passed to g_timeout_add() when you want to shutdown Gaim 
+ * passed to gaim_timeout_add() when you want to shutdown Gaim 
  * in a specified amount of time.  When shutting down Gaim 
  * from a plugin, you must use this with a timeout value of 0: 
- *   g_timeout_add(0, gaim_core_quitcb, NULL);
+ *   gaim_timeout_add(0, gaim_core_quitcb, NULL);
  * This is ensures that code from your plugin is not being 
  * executed when gaim_core_quit() is called.  Otherwise you 
  * would get a core dump after gaim_core_quit() executes and 
@@ -80,28 +80,6 @@
 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
- * function, but provides a nice, healthy level of abstraction.
- *
- * All UIs not using glib must call this in a timer.
- */
-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.