diff options
Diffstat (limited to 'src/gui/windows/mailwindow.h')
-rw-r--r-- | src/gui/windows/mailwindow.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/windows/mailwindow.h b/src/gui/windows/mailwindow.h index 8a6bc6695..3c38e0329 100644 --- a/src/gui/windows/mailwindow.h +++ b/src/gui/windows/mailwindow.h @@ -55,7 +55,8 @@ class MailWindow final : public Window, void clear() override final; - void showMessage(MailMessage *const mail); + void showMessage(MailMessage *const mail, + const int itemsCount); void removeMail(const int64_t id); @@ -69,9 +70,14 @@ class MailWindow final : public Window, void createMail(const std::string &to); + MailMessage *findMail(const int64_t id) A_WARN_UNUSED; + void setOpenType(const MailOpenTypeT &type) { mOpenType = type; } + MailOpenTypeT getOpenType() const A_WARN_UNUSED + { return mOpenType; } + private: void refreshMails(); |