Add settings to enable and disable in and outgoing mail accounts.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41077 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler
2011-03-22 10:28:22 +00:00
parent 37ffb53fb4
commit 08606d49da
3 changed files with 62 additions and 4 deletions
+8
View File
@@ -164,6 +164,11 @@ class BMailAccountSettings
bool HasInbound();
bool HasOutbound();
void SetInboundEnabled(bool enabled = true);
bool IsInboundEnabled() const;
void SetOutboundEnabled(bool enabled = true);
bool IsOutboundEnabled() const;
status_t Reload();
status_t Save();
status_t Delete();
@@ -186,6 +191,9 @@ private:
MailAddonSettings fInboundSettings;
MailAddonSettings fOutboundSettings;
bool fInboundEnabled;
bool fOutboundEnabled;
bool fModified;
};