Completed transition to the new mail API; ie. it compiles.
* Completely untested yet. Unlikely to work yet.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2011, Haiku Inc. All Rights Reserved.
|
||||
* Copyright 2011-2012, Haiku Inc. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef MAIL_PRIVATE_H
|
||||
@@ -12,13 +12,33 @@
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
|
||||
#define B_MAIL_DAEMON_SIGNATURE "application/x-vnd.Be-POST"
|
||||
|
||||
|
||||
// mail daemon & protocol message constants
|
||||
const uint32 kMsgCheckAndSend = 'mbth';
|
||||
const uint32 kMsgCheckMessage = 'mnow';
|
||||
const uint32 kMsgSendMessages = 'msnd';
|
||||
const uint32 kMsgSettingsUpdated = 'mrrs';
|
||||
const uint32 kMsgAccountsChanged = 'macc';
|
||||
const uint32 kMsgSetStatusWindowMode = 'shst';
|
||||
const uint32 kMsgCountNewMessages = 'mnum';
|
||||
const uint32 kMsgMarkMessageAsRead = 'mmar';
|
||||
const uint32 kMsgFetchBody = 'mfeb';
|
||||
const uint32 kMsgBodyFetched = 'mbfe';
|
||||
const uint32 kMsgSyncMessages = '&SyM';
|
||||
|
||||
|
||||
BPath default_mail_directory();
|
||||
BPath default_mail_in_directory();
|
||||
BPath default_mail_out_directory();
|
||||
|
||||
|
||||
status_t WriteMessageFile(const BMessage& archive, const BPath& path,
|
||||
const char* name);
|
||||
|
||||
|
||||
} // namespace BPrivate
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user