diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-25 20:45:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-25 20:45:38 +0300 |
commit | f7d3792df9fd01ea7baabaf9b612031b1f28d7ab (patch) | |
tree | a38b12795443c2c364059cf418d6171171d4434b /src/gui/windows/mailwindow.h | |
parent | 6adafcc07e2101ab085bd9f2182c965ef70d0519 (diff) | |
download | mv-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.tar.gz mv-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.tar.bz2 mv-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.tar.xz mv-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.zip |
Add basic support for view mail message.
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(); |