src/prefs.h

changeset 10087
e5b80a38939d
parent 10071
d2ba11541693
child 10443
aa7dcc1c796a
equal deleted inserted replaced
10086:c74a09688dff 10087:e5b80a38939d
223 GList *gaim_prefs_get_string_list(const char *name); 223 GList *gaim_prefs_get_string_list(const char *name);
224 224
225 /** 225 /**
226 * Add a callback to a pref (and its children) 226 * Add a callback to a pref (and its children)
227 */ 227 */
228 guint gaim_prefs_connect_callback(const char *name, GaimPrefCallback cb, 228 guint gaim_prefs_connect_callback(void *handle, const char *name, GaimPrefCallback cb,
229 gpointer data); 229 gpointer data);
230 230
231 /** 231 /**
232 * Remove a callback to a pref 232 * Remove a callback to a pref
233 */ 233 */
234 void gaim_prefs_disconnect_callback(guint callback_id); 234 void gaim_prefs_disconnect_callback(guint callback_id);
235
236 /**
237 * Remove all pref callbacks by handle
238 */
239 void gaim_prefs_disconnect_by_handle(void *handle);
235 240
236 /** 241 /**
237 * Trigger callbacks as if the pref changed 242 * Trigger callbacks as if the pref changed
238 */ 243 */
239 void gaim_prefs_trigger_callback(const char *name); 244 void gaim_prefs_trigger_callback(const char *name);

mercurial