comparison src/protocols/msn/switchboard.h @ 10225:ecf3ce2e2ab1

[gaim-migrate @ 11357] This is mostly a patch from Felipe Contreras that eliminates MSN switchboard errors and fixes MSN buddy icon syncronization, with some tweaks by me. Thank Felipe if it works, blame me if something broke. I also fixed a couple of text markup escaping things, fixed a glib warning that was bugging me, fix a rare SILC crash, and make gtkstatusselector.c compile (but do nothing) with gtk < 2.4 committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 21 Nov 2004 17:48:09 +0000
parents ab6636c5a136
children 2e01c503aa4f
comparison
equal deleted inserted replaced
10224:ef7f9e69f03e 10225:ecf3ce2e2ab1
30 30
31 #include "msg.h" 31 #include "msg.h"
32 #include "user.h" 32 #include "user.h"
33 33
34 #include "servconn.h" 34 #include "servconn.h"
35
36 typedef enum
37 {
38 MSN_SB_ERROR_NONE,
39 MSN_SB_ERROR_CAL, /* The user could not join (answer the call) */
40 MSN_SB_ERROR_OFFLINE, /* The account is offline */
41 MSN_SB_ERROR_USER_OFFLINE, /* The user to call is offline */
42 MSN_SB_ERROR_CONNECTION, /* There was a connection error */
43 MSN_SB_ERROR_UNKNOWN
44
45 } MsnSBErrorType;
35 46
36 struct _MsnSwitchBoard 47 struct _MsnSwitchBoard
37 { 48 {
38 MsnSession *session; 49 MsnSession *session;
39 MsnServConn *servconn; 50 MsnServConn *servconn;
58 69
59 gboolean hidden; 70 gboolean hidden;
60 71
61 gboolean user_joined; 72 gboolean user_joined;
62 GQueue *im_queue; 73 GQueue *im_queue;
74
75 int error;
63 }; 76 };
64 77
65 /** 78 /**
66 * Initialize the variables for switchboard creation. 79 * Initialize the variables for switchboard creation.
67 */ 80 */