comparison src/protocols/msn/switchboard.h @ 10602:f52ab405f1ab

[gaim-migrate @ 12032] This is patch 1112281 from Felipe Contreras, it prevents file transfers being cancelled when closing a conversation window with the sender/recipient. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 16 Feb 2005 20:14:12 +0000
parents bcfea6c3d5c9
children fe919915fceb
comparison
equal deleted inserted replaced
10601:e46b51de549a 10602:f52ab405f1ab
48 MSN_SB_ERROR_UNKNOWN /**< An unknown error occurred. */ 48 MSN_SB_ERROR_UNKNOWN /**< An unknown error occurred. */
49 49
50 } MsnSBErrorType; 50 } MsnSBErrorType;
51 51
52 /** 52 /**
53 * A switchboard flag.
54 */
55 typedef enum
56 {
57 MSN_SB_FLAG_IM = 0x01, /**< This switchboard is used for instant messaging. */
58 MSN_SB_FLAG_FT = 0x02, /**< This switchboard is used for file transfer. */
59
60 } MsnSBFlag;
61
62 /**
53 * A switchboard. 63 * A switchboard.
54 * 64 *
55 * A place where a bunch of users send messages to the rest of the users. 65 * A place where a bunch of users send messages to the rest of the users.
56 */ 66 */
57 struct _MsnSwitchBoard 67 struct _MsnSwitchBoard
59 MsnSession *session; 69 MsnSession *session;
60 MsnServConn *servconn; 70 MsnServConn *servconn;
61 MsnCmdProc *cmdproc; 71 MsnCmdProc *cmdproc;
62 char *im_user; 72 char *im_user;
63 73
74 MsnSBFlag flag;
64 char *auth_key; 75 char *auth_key;
65 char *session_id; 76 char *session_id;
66 77
67 GaimConversation *conv; /**< The conversation that displays the 78 GaimConversation *conv; /**< The conversation that displays the
68 messages of this switchboard, or @c NULL if 79 messages of this switchboard, or @c NULL if