diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-23 17:47:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-23 19:46:21 +0300 |
commit | dbe86f9d3ef6b54f8ab5036897f6b281c8b07ad7 (patch) | |
tree | 2bce4509e106fa28eea9668256b91a53dea7ee0b | |
parent | 80542aec861dd9ea5a7902d1f5c227fa7801bd14 (diff) | |
download | manaplus-dbe86f9d3ef6b54f8ab5036897f6b281c8b07ad7.tar.gz manaplus-dbe86f9d3ef6b54f8ab5036897f6b281c8b07ad7.tar.bz2 manaplus-dbe86f9d3ef6b54f8ab5036897f6b281c8b07ad7.tar.xz manaplus-dbe86f9d3ef6b54f8ab5036897f6b281c8b07ad7.zip |
Remove unused function sendLetter from npchandler.
-rw-r--r-- | src/gui/windows/npcpostdialog.cpp | 6 | ||||
-rw-r--r-- | src/net/ea/npchandler.cpp | 6 | ||||
-rw-r--r-- | src/net/ea/npchandler.h | 3 | ||||
-rw-r--r-- | src/net/npchandler.h | 3 |
4 files changed, 3 insertions, 15 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp index fefa8103f..1adf01309 100644 --- a/src/gui/windows/npcpostdialog.cpp +++ b/src/gui/windows/npcpostdialog.cpp @@ -118,9 +118,9 @@ void NpcPostDialog::action(const ActionEvent &event) } else { - npcHandler->sendLetter(mNpcId, - mSender->getText(), - mText->getText()); +// npcHandler->sendLetter(mNpcId, +// mSender->getText(), +// mText->getText()); } setVisible(false); } diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp index 66ad24b43..3014df37e 100644 --- a/src/net/ea/npchandler.cpp +++ b/src/net/ea/npchandler.cpp @@ -42,12 +42,6 @@ NpcHandler::NpcHandler() mRequestLang = false; } -void NpcHandler::sendLetter(const int npcId A_UNUSED, - const std::string &recipient A_UNUSED, - const std::string &text A_UNUSED) const -{ -} - void NpcHandler::startShopping(const int beingId A_UNUSED) const { } diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h index 901ee9148..c43b73592 100644 --- a/src/net/ea/npchandler.h +++ b/src/net/ea/npchandler.h @@ -42,9 +42,6 @@ class NpcHandler notfinal : public Net::NpcHandler public: A_DELETE_COPY(NpcHandler) - void sendLetter(const int npcId, const std::string &recipient, - const std::string &text) const override final; - void startShopping(const int beingId) const override final; void endShopping(const int beingId) const override final; diff --git a/src/net/npchandler.h b/src/net/npchandler.h index 9ba358068..ed93ba409 100644 --- a/src/net/npchandler.h +++ b/src/net/npchandler.h @@ -56,9 +56,6 @@ class NpcHandler notfinal virtual void stringInput(const int npcId, const std::string &value) const = 0; - virtual void sendLetter(const int npcId, const std::string &recipient, - const std::string &text) const = 0; - virtual void startShopping(const int beingId) const = 0; virtual void buy(const int beingId) const = 0; |