Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
22189:4165bcd57486 | 22190:bcaf4a037704 |
---|---|
36 | 36 |
37 typedef struct | 37 typedef struct |
38 { | 38 { |
39 const char *id; /**< An identifier for the manager. */ | 39 const char *id; /**< An identifier for the manager. */ |
40 const char *name; /**< Displayable name for the manager. */ | 40 const char *name; /**< Displayable name for the manager. */ |
41 gboolean (*init)(void); /**< Called right before it's being used. */ | |
42 gboolean (*uninit)(void); /**< Called right after it's not being used any more. */ | |
41 gboolean (*can_add_node)(PurpleBlistNode *node); /**< Whether a node should be added to the view. */ | 43 gboolean (*can_add_node)(PurpleBlistNode *node); /**< Whether a node should be added to the view. */ |
42 gpointer (*find_parent)(PurpleBlistNode *node); /**< Find the parent row for a node. */ | 44 gpointer (*find_parent)(PurpleBlistNode *node); /**< Find the parent row for a node. */ |
43 gboolean (*create_tooltip)(gpointer selected_row, GString **body, char **title); /**< Create tooltip for a selected row. */ | 45 gboolean (*create_tooltip)(gpointer selected_row, GString **body, char **title); /**< Create tooltip for a selected row. */ |
44 gpointer reserved[4]; | 46 gpointer reserved[4]; |
45 } FinchBlistManager; | 47 } FinchBlistManager; |