comparison libpurple/blist.h @ 24256:0d0088b03745

Hide the blistnode, buddy, contact, group, and chat structs Updated the libpurple plugins to use api rather than the structs directly
author Gary Kramlich <grim@reaperworld.com>
date Tue, 28 Oct 2008 04:22:57 +0000
parents 0efa36fe7d7c
children d81104908a4e
comparison
equal deleted inserted replaced
24255:4490b3002b89 24256:0d0088b03745
86 #include "status.h" 86 #include "status.h"
87 87
88 /**************************************************************************/ 88 /**************************************************************************/
89 /* Data Structures */ 89 /* Data Structures */
90 /**************************************************************************/ 90 /**************************************************************************/
91
92 #ifndef PURPLE_HIDE_STRUCTS
91 93
92 /** 94 /**
93 * A Buddy list node. This can represent a group, a buddy, or anything else. 95 * A Buddy list node. This can represent a group, a buddy, or anything else.
94 * This is a base class for struct buddy and struct group and for anything 96 * This is a base class for struct buddy and struct group and for anything
95 * else that wants to put itself in the buddy list. */ 97 * else that wants to put itself in the buddy list. */
151 PurpleBlistNode node; /**< The node that this chat inherits from */ 153 PurpleBlistNode node; /**< The node that this chat inherits from */
152 char *alias; /**< The display name of this chat. */ 154 char *alias; /**< The display name of this chat. */
153 GHashTable *components; /**< the stuff the protocol needs to know to join the chat */ 155 GHashTable *components; /**< the stuff the protocol needs to know to join the chat */
154 PurpleAccount *account; /**< The account this chat is attached to */ 156 PurpleAccount *account; /**< The account this chat is attached to */
155 }; 157 };
158
159 #endif /* PURPLE_HIDE_STRUCTS */
156 160
157 161
158 /** 162 /**
159 * The Buddy List 163 * The Buddy List
160 */ 164 */