Mercurial > pidgin.yaz
comparison src/protocols/msn/switchboard.h @ 10403:e5455f1dc9b6
[gaim-migrate @ 11648]
This is "Yet another MSN fix" from Felipe, it actually turned into "Several
MSN fixes", see bug 1088651 for the details.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 23 Dec 2004 20:13:54 +0000 |
parents | bbf738a0ce7b |
children | 92d4a25fd33c |
comparison
equal
deleted
inserted
replaced
10402:3d2dd0ed368d | 10403:e5455f1dc9b6 |
---|---|
64 | 64 |
65 GaimConversation *conv; /**< The conversation that displays the | 65 GaimConversation *conv; /**< The conversation that displays the |
66 messages of this switchboard, or @c NULL if | 66 messages of this switchboard, or @c NULL if |
67 this is a helper switchboard. */ | 67 this is a helper switchboard. */ |
68 | 68 |
69 gboolean empty; /**< A flag that states if the swithcboard has no | 69 gboolean empty; /**< A flag that states if the swithcboard has no |
70 users in it. */ | 70 users in it. */ |
71 gboolean invited; /**< A flag that states if we were invited to the | 71 gboolean invited; /**< A flag that states if we were invited to the |
72 switchboard. */ | 72 switchboard. */ |
73 gboolean destroying; /**< A flag that states if the switchboard is on | 73 gboolean destroying; /**< A flag that states if the switchboard is on |
74 the process of being destroyed. */ | 74 the process of being destroyed. */ |
75 gboolean ready; /**< A flag that states if his switchboard is | 75 gboolean ready; /**< A flag that states if this switchboard is |
76 ready to be used. */ | 76 ready to be used. */ |
77 gboolean closed; /**< A flag that states if the switchboard has | |
78 been closed by the user. */ | |
77 | 79 |
78 int current_users; | 80 int current_users; |
79 int total_users; | 81 int total_users; |
80 GList *users; | 82 GList *users; |
81 | 83 |
82 int chat_id; | 84 int chat_id; |
83 | 85 |
84 GQueue *im_queue; | 86 GQueue *im_queue; /**< Queue of messages to send. */ |
87 GList *ack_list; /**< List of messages waiting for an ack. */ | |
85 | 88 |
86 MsnSBErrorType error; /**< The error that occured in this switchboard | 89 MsnSBErrorType error; /**< The error that occured in this switchboard |
87 (if applicable). */ | 90 (if applicable). */ |
88 MsnSlpLink *slplink; /**< The slplink that is using this switchboard. */ | 91 MsnSlpLink *slplink; /**< The slplink that is using this switchboard. */ |
89 }; | 92 }; |
182 * | 185 * |
183 * @param swboard The switchboard to disconnect from. | 186 * @param swboard The switchboard to disconnect from. |
184 */ | 187 */ |
185 void msn_switchboard_disconnect(MsnSwitchBoard *swboard); | 188 void msn_switchboard_disconnect(MsnSwitchBoard *swboard); |
186 | 189 |
190 /** | |
191 * Closes the switchboard. | |
192 * | |
193 * Called when a conversation is closed. | |
194 * | |
195 * @param swboard The switchboard to close. | |
196 */ | |
197 void msn_switchboard_close(MsnSwitchBoard *swboard); | |
198 | |
187 void msn_switchboard_send_msg(MsnSwitchBoard *swboard, MsnMessage *msg); | 199 void msn_switchboard_send_msg(MsnSwitchBoard *swboard, MsnMessage *msg); |
188 void msn_switchboard_queue_msg(MsnSwitchBoard *swboard, MsnMessage *msg); | 200 void msn_switchboard_queue_msg(MsnSwitchBoard *swboard, MsnMessage *msg); |
189 void msn_switchboard_process_queue(MsnSwitchBoard *swboard); | 201 void msn_switchboard_process_queue(MsnSwitchBoard *swboard); |
190 | 202 |
191 gboolean msn_switchboard_chat_leave(MsnSwitchBoard *swboard); | 203 gboolean msn_switchboard_chat_leave(MsnSwitchBoard *swboard); |