diff options
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: |