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. --- ChangeLog | 1 + src/main.cpp | 22 ---------------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64d96638..040a5e19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2006-01-22 Björn Steinbrink + * src/main.cpp: Remove obsoleted action listeners. * src/main.cpp: Use generic error method for sound failure. * src/main.cpp, src/net/charserverhandler.cpp, src/net/loginhandler.cpp, src/net/maploginhandler.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