summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailviewwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/mailviewwindow.h')
-rw-r--r--src/gui/windows/mailviewwindow.h6
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;