summaryrefslogtreecommitdiff
path: root/src/net/mailhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 12:55:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 12:55:46 +0300
commit42407f169ac67d375cba959bc553ffc186436cba (patch)
treec94cd937e34a70ffbae1e88f7b43b44c5d3c8ca2 /src/net/mailhandler.h
parentd23ec275ea4b350dc616e592714724d66de4599a (diff)
downloadmv-42407f169ac67d375cba959bc553ffc186436cba.tar.gz
mv-42407f169ac67d375cba959bc553ffc186436cba.tar.bz2
mv-42407f169ac67d375cba959bc553ffc186436cba.tar.xz
mv-42407f169ac67d375cba959bc553ffc186436cba.zip
eathena: add packet CMSG_MAIL_SEND 0x0248.
Diffstat (limited to 'src/net/mailhandler.h')
-rw-r--r--src/net/mailhandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/mailhandler.h b/src/net/mailhandler.h
index 3ceb7625f..70b5796b7 100644
--- a/src/net/mailhandler.h
+++ b/src/net/mailhandler.h
@@ -21,6 +21,8 @@
#ifndef NET_MAILHANDLER_H
#define NET_MAILHANDLER_H
+#include <string>
+
#include "localconsts.h"
namespace Net
@@ -45,6 +47,10 @@ class MailHandler notfinal
virtual void setAttach(const int index, const int amount) = 0;
virtual void resetAttach(const int flag) = 0;
+
+ virtual void send(const std::string &name,
+ const std::string &title,
+ std::string message) = 0;
};
} // namespace Net