comparison src/conversation.h @ 13965:df0dba522147

[gaim-migrate @ 16521] Merges soc-2006-chat-speed into trunk. (r16371:r16435) Joining large chat rooms, like IRC rooms, is much quicker. Additional improvment should be seen when using >=GTK+-2.6. committer: Tailor Script <tailor@pidgin.im>
author Aaron Sheldon <aaronsheldon>
date Wed, 19 Jul 2006 20:14:58 +0000
parents a9ff4499d9ce
children
comparison
equal deleted inserted replaced
13964:0a0d2a1fd2bc 13965:df0dba522147
156 time_t mtime); 156 time_t mtime);
157 void (*write_conv)(GaimConversation *conv, const char *name, const char *alias, 157 void (*write_conv)(GaimConversation *conv, const char *name, const char *alias,
158 const char *message, GaimMessageFlags flags, 158 const char *message, GaimMessageFlags flags,
159 time_t mtime); 159 time_t mtime);
160 160
161 void (*chat_add_users)(GaimConversation *conv, GList *users, 161 void (*chat_add_users)(GaimConversation *conv, GList *cbuddies, gboolean new_arrivals);
162 GList *flags, GList *aliases, gboolean new_arrivals); 162
163 void (*chat_rename_user)(GaimConversation *conv, const char *old_name, 163 void (*chat_rename_user)(GaimConversation *conv, const char *old_name,
164 const char *new_name, const char *new_alias); 164 const char *new_name, const char *new_alias);
165 void (*chat_remove_users)(GaimConversation *conv, GList *users); 165 void (*chat_remove_users)(GaimConversation *conv, GList *users);
166 void (*chat_update_user)(GaimConversation *conv, const char *user); 166 void (*chat_update_user)(GaimConversation *conv, const char *user);
167 167
212 * Data for "Chat Buddies" 212 * Data for "Chat Buddies"
213 */ 213 */
214 struct _GaimConvChatBuddy 214 struct _GaimConvChatBuddy
215 { 215 {
216 char *name; /**< The name */ 216 char *name; /**< The name */
217 char *alias; /**< The alias */
218 char *alias_key; /**< The alias key */
219 gboolean buddy; /**< ChatBuddy is on the blist */
217 GaimConvChatBuddyFlags flags; /**< Flags (ops, voice etc.) */ 220 GaimConvChatBuddyFlags flags; /**< Flags (ops, voice etc.) */
218 }; 221 };
219 222
220 /** 223 /**
221 * A core representation of a conversation between two or more people. 224 * A core representation of a conversation between two or more people.
1131 1134
1132 /** 1135 /**
1133 * Creates a new chat buddy 1136 * Creates a new chat buddy
1134 * 1137 *
1135 * @param name The name. 1138 * @param name The name.
1139 * @param alias The alias.
1136 * @param flags The flags. 1140 * @param flags The flags.
1137 * 1141 *
1138 * @return The new chat buddy 1142 * @return The new chat buddy
1139 */ 1143 */
1140 GaimConvChatBuddy *gaim_conv_chat_cb_new(const char *name, 1144 GaimConvChatBuddy *gaim_conv_chat_cb_new(const char *name, const char *alias,
1141 GaimConvChatBuddyFlags flags); 1145 GaimConvChatBuddyFlags flags);
1142 1146
1143 /** 1147 /**
1144 * Find a chat buddy in a chat 1148 * Find a chat buddy in a chat
1145 * 1149 *