diff src/prpl.h @ 2153:0befa2d2e540

[gaim-migrate @ 2163] moving mail notifications to the core. this makes things much easier on the protocols. next steps: make buddy right-click menu stuff generated by the core (based on information provided by the protocols, similar to the away menu stuff); make entry-widget protocol-specific user options generated by the core based on what the protocols tell it (in a similar way). committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 22 Aug 2001 21:11:58 +0000
parents 56c4382f2909
children cff133e0ec0c
line wrap: on
line diff
--- a/src/prpl.h	Wed Aug 22 17:25:33 2001 +0000
+++ b/src/prpl.h	Wed Aug 22 21:11:58 2001 +0000
@@ -54,6 +54,8 @@
 #define OPT_PROTO_CHAT_TOPIC      0x00000008
 /* IRC and Zephyr don't require passwords, so there's no need for a password prompt */
 #define OPT_PROTO_NO_PASSWORD     0x00000010
+/* MSN and Yahoo notify you when you have new mail */
+#define OPT_PROTO_MAIL_CHECK      0x00000020
 
 #define GAIM_AWAY_CUSTOM "Custom"
 
@@ -150,6 +152,8 @@
 void do_ask_dialog(const char *, void *, void *, void *);
 void do_prompt_dialog(const char *, void *, void *, void *);
 
+void connection_has_mail(struct gaim_connection *, int, const char *, const char *);
+
 /* UI for file transfer */
 #define FT_EXIST_DNE       0
 #define FT_EXIST_OVERWRITE 1