libpurple/blistnode.h

branch
soc.2013.gobjectification.plugins
changeset 37069
22bf5ea00006
parent 37063
a84be725efad
parent 35458
385156e1b493
child 37075
cf3f735b09b7
equal deleted inserted replaced
37068:91e58d53fea9 37069:22bf5ea00006
69 * anything else that wants to put itself in the buddy list. 69 * anything else that wants to put itself in the buddy list.
70 */ 70 */
71 struct _PurpleBlistNode { 71 struct _PurpleBlistNode {
72 GObject gparent; 72 GObject gparent;
73 73
74 /*< public >*/
74 PurpleBlistNode *prev; 75 PurpleBlistNode *prev;
75 PurpleBlistNode *next; 76 PurpleBlistNode *next;
76 PurpleBlistNode *parent; 77 PurpleBlistNode *parent;
77 PurpleBlistNode *child; 78 PurpleBlistNode *child;
78 79
94 void (*_purple_reserved4)(void); 95 void (*_purple_reserved4)(void);
95 }; 96 };
96 97
97 /** 98 /**
98 * PurpleCountingNode: 99 * PurpleCountingNode:
99 * @node: The blist node that this counting node inherits from
100 * 100 *
101 * A node that keeps count of the number of children that it has. It tracks the 101 * A node that keeps count of the number of children that it has. It tracks the
102 * total number of children, the number of children corresponding to online 102 * total number of children, the number of children corresponding to online
103 * accounts, and the number of online children. 103 * accounts, and the number of online children.
104 * 104 *
105 * The two types of counting nodes are: 105 * The two types of counting nodes are:
106 * 1. Contact: Keeps track of the number of buddies under it. 106 * 1. Contact: Keeps track of the number of buddies under it.
107 * 2. Group: Keeps track of the number of chats and contacts under it. 107 * 2. Group: Keeps track of the number of chats and contacts under it.
108 * 108 *
109 * @see PurpleContact 109 * See #PurpleContact, #PurpleGroup
110 * @see PurpleGroup
111 */ 110 */
112 struct _PurpleCountingNode { 111 struct _PurpleCountingNode {
113 PurpleBlistNode node; 112 PurpleBlistNode node;
114 }; 113 };
115 114
136 /*@{*/ 135 /*@{*/
137 136
138 /** 137 /**
139 * purple_blist_node_get_type: 138 * purple_blist_node_get_type:
140 * 139 *
141 * Returns the GType for the PurpleBlistNode object. 140 * Returns: The #GType for the #PurpleBlistNode object.
142 */ 141 */
143 GType purple_blist_node_get_type(void); 142 GType purple_blist_node_get_type(void);
144 143
145 /** 144 /**
146 * purple_blist_node_next: 145 * purple_blist_node_next:
354 353
355 /*@}*/ 354 /*@}*/
356 355
357 /** 356 /**
358 * purple_blist_node_get_extended_menu: 357 * purple_blist_node_get_extended_menu:
359 * @n The blist node for which to obtain the extended menu items. 358 * @n: The blist node for which to obtain the extended menu items.
360 * 359 *
361 * Retrieves the extended menu items for a buddy list node. 360 * Retrieves the extended menu items for a buddy list node.
362 * 361 *
363 * Returns: A list of PurpleMenuAction items, as harvested by the 362 * Returns: A list of PurpleMenuAction items, as harvested by the
364 * blist-node-extended-menu signal. 363 * blist-node-extended-menu signal.
373 /*@{*/ 372 /*@{*/
374 373
375 /** 374 /**
376 * purple_counting_node_get_type: 375 * purple_counting_node_get_type:
377 * 376 *
378 * Returns the GType for the PurpleCountingNode object. 377 * Returns: The #GType for the #PurpleCountingNode object.
379 */ 378 */
380 GType purple_counting_node_get_type(void); 379 GType purple_counting_node_get_type(void);
381 380
382 /** 381 /**
383 * purple_counting_node_get_total_size: 382 * purple_counting_node_get_total_size:

mercurial