| 46 gboolean (*uninit)(void); /**< Called right after it's not being used any more. */ |
46 gboolean (*uninit)(void); /**< Called right after it's not being used any more. */ |
| 47 gboolean (*can_add_node)(PurpleBListNode *node); /**< Whether a node should be added to the view. */ |
47 gboolean (*can_add_node)(PurpleBListNode *node); /**< Whether a node should be added to the view. */ |
| 48 gpointer (*find_parent)(PurpleBListNode *node); /**< Find the parent row for a node. */ |
48 gpointer (*find_parent)(PurpleBListNode *node); /**< Find the parent row for a node. */ |
| 49 gboolean (*create_tooltip)(gpointer selected_row, GString **body, char **title); /**< Create tooltip for a selected row. */ |
49 gboolean (*create_tooltip)(gpointer selected_row, GString **body, char **title); /**< Create tooltip for a selected row. */ |
| 50 gpointer reserved[4]; |
50 gpointer reserved[4]; |
| 51 } FinchBlistManager; |
51 } FinchBListManager; |
| 52 |
52 |
| 53 /** |
53 /** |
| 54 * Get the ui-functions. |
54 * Get the ui-functions. |
| 55 * |
55 * |
| 56 * @return The PurpleBListUiOps structure populated with the appropriate functions. |
56 * @return The PurpleBListUiOps structure populated with the appropriate functions. |
| 127 /** |
127 /** |
| 128 * Add an alternate buddy list manager. |
128 * Add an alternate buddy list manager. |
| 129 * |
129 * |
| 130 * @param manager The alternate buddylist manager. |
130 * @param manager The alternate buddylist manager. |
| 131 */ |
131 */ |
| 132 void finch_blist_install_manager(const FinchBlistManager *manager); |
132 void finch_blist_install_manager(const FinchBListManager *manager); |
| 133 |
133 |
| 134 /** |
134 /** |
| 135 * Remove an alternate buddy list manager. |
135 * Remove an alternate buddy list manager. |
| 136 * |
136 * |
| 137 * @param manager The buddy list manager to remove. |
137 * @param manager The buddy list manager to remove. |
| 138 */ |
138 */ |
| 139 void finch_blist_uninstall_manager(const FinchBlistManager *manager); |
139 void finch_blist_uninstall_manager(const FinchBListManager *manager); |
| 140 |
140 |
| 141 /** |
141 /** |
| 142 * Find a buddy list manager. |
142 * Find a buddy list manager. |
| 143 * |
143 * |
| 144 * @param id The identifier for the desired buddy list manager. |
144 * @param id The identifier for the desired buddy list manager. |
| 145 * |
145 * |
| 146 * @return The manager with the requested identifier, if available. @c NULL otherwise. |
146 * @return The manager with the requested identifier, if available. @c NULL otherwise. |
| 147 */ |
147 */ |
| 148 FinchBlistManager * finch_blist_manager_find(const char *id); |
148 FinchBListManager * finch_blist_manager_find(const char *id); |
| 149 |
149 |
| 150 /** |
150 /** |
| 151 * Request the active buddy list manager to add a node. |
151 * Request the active buddy list manager to add a node. |
| 152 * |
152 * |
| 153 * @param node The node to add |
153 * @param node The node to add |