diff options
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r-- | src/gui/serverdialog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h index 943d69c9..d82e2613 100644 --- a/src/gui/serverdialog.h +++ b/src/gui/serverdialog.h @@ -30,6 +30,7 @@ #include "utils/mutex.h" #include <guichan/actionlistener.hpp> +#include <guichan/keylistener.hpp> #include <guichan/listmodel.hpp> #include <guichan/selectionlistener.hpp> @@ -78,6 +79,7 @@ class ServersListModel : public gcn::ListModel */ class ServerDialog : public Window, public gcn::ActionListener, + public gcn::KeyListener, public gcn::SelectionListener { public: @@ -98,6 +100,8 @@ class ServerDialog : public Window, */ void action(const gcn::ActionEvent &event); + void keyPressed(gcn::KeyEvent &keyEvent); + /** * Called when the selected value changed in the servers list box. */ |