From fafb16bfcbdafa78ca6b587090838cf9752313e5 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Sun, 22 Jan 2006 19:11:33 +0000 Subject: Remove obsoleted action listeners. --- src/main.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index d6fe8910..b5592b12 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -106,28 +106,6 @@ Uint32 nextFrame(Uint32 interval, void *param) return interval; } -/** - * Listener used for responding to map start error dialog. - */ -class MapStartErrorListener : public gcn::ActionListener { - void action(const std::string &eventId) { - if (eventId == "ok") { - state = LOGIN_STATE; - } - } -} mapStartErrorListener; - -/** - * Listener used for responding to init warning. - */ -class InitWarningListener : public gcn::ActionListener { - void action(const std::string &eventId) { - if (eventId == "ok") { - state = LOGIN_STATE; - } - } -} initWarningListener; - /** * Do all initialization stuff */ -- cgit v1.2.3-70-g09d2