diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-26 19:33:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-26 19:33:11 +0300 |
commit | 86735e142e86391e46b0eafbcb7ef01e25fc969a (patch) | |
tree | a717ba215baae052de204ed7b8e50b20c453882a /src/gui/windows/mailviewwindow.h | |
parent | d3f61bb7da045c7d0a955a3859aac713d1bfc6e7 (diff) | |
download | plus-86735e142e86391e46b0eafbcb7ef01e25fc969a.tar.gz plus-86735e142e86391e46b0eafbcb7ef01e25fc969a.tar.bz2 plus-86735e142e86391e46b0eafbcb7ef01e25fc969a.tar.xz plus-86735e142e86391e46b0eafbcb7ef01e25fc969a.zip |
Add support for getting attached items from mail message.
Diffstat (limited to 'src/gui/windows/mailviewwindow.h')
-rw-r--r-- | src/gui/windows/mailviewwindow.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/mailviewwindow.h b/src/gui/windows/mailviewwindow.h index 524c029d4..13ad25676 100644 --- a/src/gui/windows/mailviewwindow.h +++ b/src/gui/windows/mailviewwindow.h @@ -38,7 +38,7 @@ class MailViewWindow final : public Window, public ActionListener { public: - MailViewWindow(const MailMessage *const message, + MailViewWindow(MailMessage *const message, const int itemsCount) A_NONNULL(2); A_DELETE_COPY(MailViewWindow) @@ -51,10 +51,12 @@ class MailViewWindow final : public Window, void updateItems(); + void removeItems(const int64_t mailId); + private: void updateAttachButton(); - const MailMessage *mMessage; + MailMessage *mMessage; Button *mGetAttachButton; Button *mGetMoneyButton; Button *mCloseButton; |