diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-14 15:17:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-14 15:17:42 +0300 |
commit | 653087c6ffd0f5f4245f6f3a2e18d4e7129070c0 (patch) | |
tree | 2939f75d5b32af9f35bf299d40005de694ce7b70 /src/gui/popups/popupmenu.h | |
parent | 6673373236287df9ee52a1a01c2c70cd63a8be46 (diff) | |
download | manaplus-653087c6ffd0f5f4245f6f3a2e18d4e7129070c0.tar.gz manaplus-653087c6ffd0f5f4245f6f3a2e18d4e7129070c0.tar.bz2 manaplus-653087c6ffd0f5f4245f6f3a2e18d4e7129070c0.tar.xz manaplus-653087c6ffd0f5f4245f6f3a2e18d4e7129070c0.zip |
Move renamelistener into separate file.
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r-- | src/gui/popups/popupmenu.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h index 94db12343..fbbb69cd0 100644 --- a/src/gui/popups/popupmenu.h +++ b/src/gui/popups/popupmenu.h @@ -27,6 +27,7 @@ #include "gui/widgets/popup.h" #include "listeners/actionlistener.h" +#include "listeners/renamelistener.h" #include "localconsts.h" @@ -46,26 +47,6 @@ class TextField; class ProgressBar; class Window; -class RenameListener final : public ActionListener -{ - public: - RenameListener(); - - A_DELETE_COPY(RenameListener) - - void action(const ActionEvent &event) override final; - - void setMapItem(const MapItem *const mapItem); - - void setDialog(TextDialog *dialog) - { mDialog = dialog; } - - private: - int mMapItemX; - int mMapItemY; - TextDialog *mDialog; -}; - class PlayerListener : public ActionListener { public: |