diff finch/gntblist.h @ 22190:bcaf4a037704

Init and uninit the buddylist managers at appropriate times.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 23 Jan 2008 21:46:54 +0000
parents 2c9646c55369
children f1441c4e4d2f
line wrap: on
line diff
--- a/finch/gntblist.h	Wed Jan 23 21:45:43 2008 +0000
+++ b/finch/gntblist.h	Wed Jan 23 21:46:54 2008 +0000
@@ -38,6 +38,8 @@
 {
 	const char *id;                                    /**< An identifier for the manager. */
 	const char *name;                                  /**< Displayable name for the manager. */
+	gboolean (*init)(void);                            /**< Called right before it's being used. */
+	gboolean (*uninit)(void);                          /**< Called right after it's not being used any more. */
 	gboolean (*can_add_node)(PurpleBlistNode *node);   /**< Whether a node should be added to the view. */
 	gpointer (*find_parent)(PurpleBlistNode *node);    /**< Find the parent row for a node. */
 	gboolean (*create_tooltip)(gpointer selected_row, GString **body, char **title);  /**< Create tooltip for a selected row. */