src/protocols/msn/switchboard.h

changeset 10225
0dfea1bc8695
parent 9198
e8eb6d5eb9eb
child 10345
7d7f8cfa2b4f
equal deleted inserted replaced
10224:71c4a2f741b2 10225:0dfea1bc8695
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 */

mercurial