Define B_MAIL_DAEMON_SIGNATURE and use it instead of hardcoding the signature everywhere.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42966 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2011-10-29 16:21:17 +00:00
parent 345eb8c4fe
commit e039afe87e
6 changed files with 21 additions and 15 deletions
+5
View File
@@ -10,6 +10,8 @@
#include <E-mail.h>
#define B_MAIL_DAEMON_SIGNATURE "application/x-vnd.Be-POST"
const uint32 kMsgCheckAndSend = 'mbth';
const uint32 kMsgCheckMessage = 'mnow';
const uint32 kMsgSendMessages = 'msnd';
@@ -22,6 +24,9 @@ const uint32 kMsgFetchBody = 'mfeb';
const uint32 kMsgBodyFetched = 'mbfe';
class BMessenger;
class BMailDaemon {
public:
//! accountID = -1 means check all accounts