src/protocols/msn/notification.h

changeset 10463
f2f97738b401
parent 9198
e8eb6d5eb9eb
child 10481
a5d6b8e1717d
equal deleted inserted replaced
10462:760c4796c9a9 10463:f2f97738b401
34 { 34 {
35 MsnSession *session; 35 MsnSession *session;
36 MsnCmdProc *cmdproc; 36 MsnCmdProc *cmdproc;
37 MsnServConn *servconn; 37 MsnServConn *servconn;
38 38
39 gboolean destroying; /**< A flag that states if the notification is on
40 the process of being destroyed. */
41
39 gboolean in_use; 42 gboolean in_use;
40 }; 43 };
41 44
42 #include "state.h" 45 #include "state.h"
43 46
54 void msn_notification_destroy(MsnNotification *notification); 57 void msn_notification_destroy(MsnNotification *notification);
55 gboolean msn_notification_connect(MsnNotification *notification, 58 gboolean msn_notification_connect(MsnNotification *notification,
56 const char *host, int port); 59 const char *host, int port);
57 void msn_notification_disconnect(MsnNotification *notification); 60 void msn_notification_disconnect(MsnNotification *notification);
58 61
62 /**
63 * Closes a notification.
64 *
65 * It's first closed, and then disconnected.
66 *
67 * @param notification The notification object to close.
68 */
69 void msn_notification_close(MsnNotification *notification);
70
59 void msn_got_login_params(MsnSession *session, const char *login_params); 71 void msn_got_login_params(MsnSession *session, const char *login_params);
60 72
61 #endif /* _MSN_NOTIFICATION_H_ */ 73 #endif /* _MSN_NOTIFICATION_H_ */

mercurial