Mercurial > pidgin
comparison libpurple/protocols/msn/notification.h @ 28983:462cb893521b
Minor header file cleanup. Mostly I wanted to move some enums above some #includes
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 05 Feb 2010 22:49:11 +0000 |
parents | c384d62009c0 |
children | 98de21a2aa9a 6376fc7a092e |
comparison
equal
deleted
inserted
replaced
28982:791606778223 | 28983:462cb893521b |
---|---|
19 * | 19 * |
20 * You should have received a copy of the GNU General Public License | 20 * You should have received a copy of the GNU General Public License |
21 * along with this program; if not, write to the Free Software | 21 * along with this program; if not, write to the Free Software |
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
23 */ | 23 */ |
24 #ifndef _MSN_NOTIFICATION_H_ | 24 #ifndef MSN_NOTIFICATION_H |
25 #define _MSN_NOTIFICATION_H_ | 25 #define MSN_NOTIFICATION_H |
26 | 26 |
27 /*MSN protocol challenge info*/ | 27 typedef struct _MsnNotification MsnNotification; |
28 | 28 |
29 /*MSNP15 challenge: WLM 8.5.1288.816*/ | 29 /* MSN protocol challenge info */ |
30 | |
31 /* MSNP15 challenge: WLM 8.5.1288.816 */ | |
30 #define MSNP15_WLM_PRODUCT_KEY "ILTXC!4IXB5FB*PX" | 32 #define MSNP15_WLM_PRODUCT_KEY "ILTXC!4IXB5FB*PX" |
31 #define MSNP15_WLM_PRODUCT_ID "PROD0119GSJUC$18" | 33 #define MSNP15_WLM_PRODUCT_ID "PROD0119GSJUC$18" |
32 | 34 |
33 /*MSNP13 challenge*/ | 35 /* MSNP13 challenge */ |
34 #define MSNP13_WLM_PRODUCT_KEY "O4BG@C7BWLYQX?5G" | 36 #define MSNP13_WLM_PRODUCT_KEY "O4BG@C7BWLYQX?5G" |
35 #define MSNP13_WLM_PRODUCT_ID "PROD01065C%ZFN6F" | 37 #define MSNP13_WLM_PRODUCT_ID "PROD01065C%ZFN6F" |
36 | 38 |
37 #define MSNP10_PRODUCT_KEY "VT6PX?UQTM4WM%YR" | 39 #define MSNP10_PRODUCT_KEY "VT6PX?UQTM4WM%YR" |
38 #define MSNP10_PRODUCT_ID "PROD0038W!61ZTF9" | 40 #define MSNP10_PRODUCT_ID "PROD0038W!61ZTF9" |
39 | 41 |
40 typedef struct _MsnNotification MsnNotification; | 42 #include "cmdproc.h" |
41 | 43 #include "msg.h" |
42 #include "session.h" | 44 #include "session.h" |
43 #include "servconn.h" | 45 #include "servconn.h" |
44 #include "cmdproc.h" | 46 #include "state.h" |
45 #include "user.h" | 47 #include "user.h" |
46 | 48 |
47 struct _MsnNotification | 49 struct _MsnNotification |
48 { | 50 { |
49 MsnSession *session; | 51 MsnSession *session; |
58 gboolean in_use; | 60 gboolean in_use; |
59 }; | 61 }; |
60 | 62 |
61 typedef void (*MsnFqyCb)(MsnSession *session, const char *passport, MsnNetwork network, gpointer data); | 63 typedef void (*MsnFqyCb)(MsnSession *session, const char *passport, MsnNetwork network, gpointer data); |
62 | 64 |
63 #include "state.h" | 65 void uum_send_msg(MsnSession *session, MsnMessage *msg); |
64 void uum_send_msg(MsnSession *session,MsnMessage *msg); | |
65 | 66 |
66 void msn_notification_end(void); | 67 void msn_notification_end(void); |
67 void msn_notification_init(void); | 68 void msn_notification_init(void); |
68 | 69 |
69 void msn_notification_add_buddy_to_list(MsnNotification *notification, | 70 void msn_notification_add_buddy_to_list(MsnNotification *notification, |
91 */ | 92 */ |
92 void msn_notification_close(MsnNotification *notification); | 93 void msn_notification_close(MsnNotification *notification); |
93 | 94 |
94 void msn_got_login_params(MsnSession *session, const char *ticket, const char *response); | 95 void msn_got_login_params(MsnSession *session, const char *ticket, const char *response); |
95 | 96 |
96 #endif /* _MSN_NOTIFICATION_H_ */ | 97 #endif /* MSN_NOTIFICATION_H */ |