1 /** @page blist-signals Buddy List Signals
4 @signal buddy-status-changed
5 @signal buddy-idle-changed
6 @signal buddy-signed-on
7 @signal buddy-signed-off
9 @signal blist-node-extended-menu
12 @signal buddy-icon-changed
13 @signal blist-node-aliased
14 @signal buddy-caps-changed
15 @signal ui-caps-changed
22 @signaldef buddy-status-changed
24 void (*buddy_away)(PurpleBuddy *buddy, PurpleStatus *old_status, PurpleStatus *status);
27 Emitted when a buddy on your buddy list goes away.
28 @param buddy The buddy whose status changed.
29 @param old_status The status that the buddy just changed from.
30 @param status The status that the buddy just changed to.
33 @signaldef buddy-idle-changed
35 void (*buddy_idle)(PurpleBuddy *buddy, gboolean old_idle, gboolean idle);
38 Emitted when a buddy on your buddy list becomes idle.
39 @param buddy The buddy whose idle status changed.
40 @param old_idle Whether the buddy was idle.
41 @param idle Whether the buddy is currently idle.
44 @signaldef buddy-signed-on
46 void (*buddy_signed_on)(PurpleBuddy *buddy);
49 Emitted when a buddy on your buddy list signs on.
50 @param buddy The buddy that signed on.
53 @signaldef buddy-signed-off
55 void (*buddy_signed_off)(PurpleBuddy *buddy);
58 Emitted when a buddy on your buddy list signs off.
59 @param buddy The buddy that signed off.
62 @signaldef update-idle
64 void (*update_idle)();
67 Emitted when the buddy list is refreshed and the idle times are updated.
70 @signaldef blist-node-extended-menu
72 void (*blist_node_extended_menu)(PurpleBlistNode *node, GList **menu)
75 Emitted when a buddlist menu is being constructed @a menu is a pointer to
76 a GList of PurpleBlistNodeAction's allowing a plugin to add menu items
79 @signaldef blist-node-added
81 void (*blist_node_added)(PurpleBlistNode *node)
84 Emitted when a new blist node is added to the buddy list.
87 @signaldef blist-node-removed
89 void (*blist_node_removed)(PurpleBlistNode *node)
92 Emitted when a blist node is removed from the buddy list.
95 @signaldef buddy-added
97 void (*buddy_added)(PurpleBuddy *buddy)
100 Emitted when a new buddy is added to the buddy list.
101 @deprecated Use blist-node-added instead.
104 @signaldef buddy-removed
106 void (*buddy_removed)(PurpleBuddy *buddy)
109 Emitted when a buddy is removed from the buddy list.
110 @deprecated Use blist-node-removed instead.
113 @signaldef buddy-icon-changed
115 void (*buddy_icon_changed)(PurpleBuddy *buddy)
118 Emitted when a buddy's icon is set.
121 @signaldef blist-node-aliased
123 void (*blist_node_aliased)(PurpleBlistNode *node, const char *old_alias)
126 Emitted when a blist node (buddy, chat, or contact) is aliased.
129 @signaldef buddy-caps-changed
131 void (*buddy_caps_changed)(PurpleBuddy *buddy, PurpleMediaCaps newcaps,
132 PurpleMediaCaps oldcaps)
135 Emitted when updating a buddy's media capabilities.
136 @param buddy The buddy
142 @signaldef ui-caps-changed
144 void (*ui_caps_changed)(PurpleMediaCaps newcaps, PurpleMediaCaps oldcaps)
147 Emitted when updating the media capabilities of the UI.
154 // vim: syntax=c.doxygen tw=75 et