summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-27 18:20:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-27 19:55:54 +0300
commit9af27292809ee8bf42f46e214c21c305c3cd810f (patch)
tree99a6ba2d4943932742255ba05eba1a0a94305754 /src/gui/windows/mailwindow.h
parent22ba86a17c2a7ce05cad3cdd1713081a6ea1b2fe (diff)
downloadplus-9af27292809ee8bf42f46e214c21c305c3cd810f.tar.gz
plus-9af27292809ee8bf42f46e214c21c305c3cd810f.tar.bz2
plus-9af27292809ee8bf42f46e214c21c305c3cd810f.tar.xz
plus-9af27292809ee8bf42f46e214c21c305c3cd810f.zip
eathena: impliment packet SMSG_MAIL_MAILS_LIST.
Diffstat (limited to 'src/gui/windows/mailwindow.h')
-rw-r--r--src/gui/windows/mailwindow.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/windows/mailwindow.h b/src/gui/windows/mailwindow.h
index 5bab5bbd7..459a6ffc7 100644
--- a/src/gui/windows/mailwindow.h
+++ b/src/gui/windows/mailwindow.h
@@ -31,6 +31,8 @@ class Button;
class ExtendedListBox;
class ExtendedNamesModel;
+struct MailMessage;
+
/**
* A dialog to choose between buying or selling at a shop.
*
@@ -48,7 +50,12 @@ class MailWindow final : public Window,
void action(const ActionEvent &event) override final;
+ void addMail(MailMessage *const message);
+
+ void clear();
+
private:
+ std::vector<MailMessage*> mMessages;
ExtendedNamesModel *mMailModel;
ExtendedListBox *mListBox;
Button *mRefreshButton;