21c22141b8
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
26 lines
466 B
C++
26 lines
466 B
C++
/*
|
|
* 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
|