comparison libpurple/eventloop.h @ 18006:f2d8658b3a86

merge of '62e9d17cd37551991c5040ce6ca48e6d7578dde3' and '87c1ea9b3d60a343bac2a35e1fd8f7fee6bda6f2'
author Richard Laager <rlaager@wiktel.com>
date Sat, 19 May 2007 21:38:47 +0000
parents 516f14bef90e
children f22986db6e70
comparison
equal deleted inserted replaced
17174:e5cc13b1e0ca 18006:f2d8658b3a86
46 typedef struct _PurpleEventLoopUiOps PurpleEventLoopUiOps; 46 typedef struct _PurpleEventLoopUiOps PurpleEventLoopUiOps;
47 47
48 struct _PurpleEventLoopUiOps 48 struct _PurpleEventLoopUiOps
49 { 49 {
50 /** 50 /**
51 * Creates a callback timer. 51 * Creates a callback timer with an interval measured in milliseconds.
52 * @see g_timeout_add, purple_timeout_add 52 * @see g_timeout_add, purple_timeout_add
53 **/ 53 **/
54 guint (*timeout_add)(guint interval, GSourceFunc function, gpointer data); 54 guint (*timeout_add)(guint interval, GSourceFunc function, gpointer data);
55
56 /**
57 * Creates a callback timer with an interval measured in seconds.
58 * @see g_timeout_add_seconds, purple_timeout_add_seconds
59 **/
60 guint (*timeout_add_seconds)(guint interval, GSourceFunc function, gpointer data);
55 61
56 /** 62 /**
57 * Removes a callback timer. 63 * Removes a callback timer.
58 * @see purple_timeout_remove, g_source_remove 64 * @see purple_timeout_remove, g_source_remove
59 */ 65 */