xref: /haiku/headers/os/mail/MailDaemon.h (revision 95bac3fda53a4cb21880712d7b43f8c21db32a2e)
1 #ifndef ZOIDBERG_MAIL_DAEMON_H
2 #define ZOIDBERG_MAIL_DAEMON_H
3 /* Daemon - talking to the mail daemon
4 **
5 ** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
6 */
7 
8 class BMailDaemon {
9 	public:
10 		static status_t CheckMail(bool send_queued_mail = true,const char *account = NULL);
11 		static status_t SendQueuedMail();
12 		static int32	CountNewMessages(bool wait_for_fetch_completion = false);
13 
14 		static status_t Quit();
15 };
16 
17 #endif	/* ZOIDBERG_MAIL_DAEMON_H */
18 
19