- Partial downloaded messages are now opened by Mail and not by the mail daemon. Mail request the body fetch and get notified when the daemon is done. During this time the Mail window title is showing "Downloading: subject". This fixes #7256.

- Some cleanup in Mail.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40789 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler
2011-03-03 09:05:04 +00:00
parent e8226ce48d
commit b8d2bbd616
14 changed files with 205 additions and 266 deletions
@@ -195,7 +195,7 @@ public:
void SyncMessages();
void FetchBody(const entry_ref& ref,
BMessage* launch = NULL);
BMessenger* listener = NULL);
void MarkMessageAsRead(const entry_ref& ref,
read_flags flag = B_READ);
void DeleteMessage(const entry_ref& ref);
+2 -1
View File
@@ -19,6 +19,7 @@ const uint32 kMsgSetStatusWindowMode = 'shst';
const uint32 kMsgCountNewMessages = 'mnum';
const uint32 kMsgMarkMessageAsRead = 'mmar';
const uint32 kMsgFetchBody = 'mfeb';
const uint32 kMsgBodyFetched = 'mbfe';
class BMailDaemon {
@@ -32,7 +33,7 @@ public:
static status_t MarkAsRead(int32 account, const entry_ref& ref,
read_flags flag = B_READ);
static status_t FetchBody(const entry_ref& ref,
BMessage* launchMessage = NULL);
BMessenger* listener = NULL);
static status_t Quit();
};