* Removed default_sent_directory(), and introduced
default_mail{_in|_out}_directory() methods in the BPrivate namespace.
* Used these methods in the inbound/outbound protocols.
* Moved WriteMessageFile() into the BPrivate namespace as well, and put its
prototype into a new header MailPrivate.h along with the new directory
getters.
* Removed the automatic copy to the sent directory again, and only have one
directory for incoming mail. Incidentally, this fixed #7509, although the
underlying filter restriction remains.
* Automatic whitespace cleanups, some style cleanups. Sorry for the mess.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42260 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright 2011, Haiku Inc. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef MAIL_PRIVATE_H
|
||||
#define MAIL_PRIVATE_H
|
||||
|
||||
|
||||
#include <Message.h>
|
||||
#include <Path.h>
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
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
|
||||
|
||||
|
||||
#endif // MAIL_PRIVATE_H
|
||||
Reference in New Issue
Block a user