libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / apps / mail / MessageStatus.h
blob2b3a635e6d30847924e9f33cdcce7fccbfb5ebe3
1 /*
2 * Copyright 2010 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Jonas Sundström, jonas@kirilla.com
7 */
8 #ifndef _MESSAGE_STATUS_H
9 #define _MESSAGE_STATUS_H
12 #include <SupportDefs.h>
15 enum messageStatus {
16 MAIL_READING = 0,
17 MAIL_WRITING,
18 MAIL_WRITING_DRAFT,
19 MAIL_REPLYING,
20 MAIL_FORWARDING
24 class MessageStatus {
25 public:
26 MessageStatus();
27 ~MessageStatus();
29 void SetStatus(messageStatus status);
30 messageStatus Status();
32 bool Reading();
33 bool Writing();
34 bool WritingDraft();
35 bool Replying();
36 bool Forwarding();
38 bool Outgoing();
40 bool MailIsOnDisk();
42 private:
43 messageStatus fStatus;
47 #endif // _MESSAGE_STATUS_H