comparison libpurple/eventloop.h @ 25415:584063555949

Remove trailing whitespace
author Mark Doliner <mark@kingant.net>
date Mon, 26 Jan 2009 06:44:00 +0000
parents dc3c31b78fdb
children 02a2e8183b1d
comparison
equal deleted inserted replaced
25414:7fc110f70662 25415:584063555949
117 * @param handle an identifier, as returned by #input_add. 117 * @param handle an identifier, as returned by #input_add.
118 * @return @c TRUE if the input handler was found and removed. 118 * @return @c TRUE if the input handler was found and removed.
119 * @see purple_input_remove 119 * @see purple_input_remove
120 */ 120 */
121 gboolean (*input_remove)(guint handle); 121 gboolean (*input_remove)(guint handle);
122 122
123 123
124 /** 124 /**
125 * If implemented, should get the current error status for an input. 125 * If implemented, should get the current error status for an input.
126 * 126 *
127 * Implementation of this UI op is optional. Implement it if the UI's 127 * Implementation of this UI op is optional. Implement it if the UI's
128 * sockets or event loop needs to customize determination of socket 128 * sockets or event loop needs to customize determination of socket
159 /** @name Event Loop API */ 159 /** @name Event Loop API */
160 /**************************************************************************/ 160 /**************************************************************************/
161 /*@{*/ 161 /*@{*/
162 /** 162 /**
163 * Creates a callback timer. 163 * Creates a callback timer.
164 * 164 *
165 * The timer will repeat until the function returns @c FALSE. The 165 * The timer will repeat until the function returns @c FALSE. The
166 * first call will be at the end of the first interval. 166 * first call will be at the end of the first interval.
167 * 167 *
168 * If the timer is in a multiple of seconds, use purple_timeout_add_seconds() 168 * If the timer is in a multiple of seconds, use purple_timeout_add_seconds()
169 * instead as it allows UIs to group timers for power efficiency. 169 * instead as it allows UIs to group timers for power efficiency.
183 * The timer will repeat until the function returns @c FALSE. The 183 * The timer will repeat until the function returns @c FALSE. The
184 * first call will be at the end of the first interval. 184 * first call will be at the end of the first interval.
185 * 185 *
186 * This function allows UIs to group timers for better power efficiency. For 186 * This function allows UIs to group timers for better power efficiency. For
187 * this reason, @a interval may be rounded by up to a second. 187 * this reason, @a interval may be rounded by up to a second.
188 * 188 *
189 * @param interval The time between calls of the function, in 189 * @param interval The time between calls of the function, in
190 * seconds. 190 * seconds.
191 * @param function The function to call. 191 * @param function The function to call.
192 * @param data data to pass to @a function. 192 * @param data data to pass to @a function.
193 * @return A handle to the timer which can be passed to 193 * @return A handle to the timer which can be passed to
194 * purple_timeout_remove() to remove the timer. 194 * purple_timeout_remove() to remove the timer.
195 * 195 *
196 * @since 2.1.0 196 * @since 2.1.0
197 */ 197 */
198 guint purple_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data); 198 guint purple_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data);