summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-15 23:14:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-15 23:14:41 +0300
commit9502e9c968fac129ab57d7b0496c874086995b04 (patch)
tree3709ed6883222be555d39f7a606b674fb67ebb52 /src/net
parente3ec854f275cc6f79129bbdd3129be277100908f (diff)
downloadmanaplus-9502e9c968fac129ab57d7b0496c874086995b04.tar.gz
manaplus-9502e9c968fac129ab57d7b0496c874086995b04.tar.bz2
manaplus-9502e9c968fac129ab57d7b0496c874086995b04.tar.xz
manaplus-9502e9c968fac129ab57d7b0496c874086995b04.zip
move actionlistener from base into listeners.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/playerhandler.cpp4
-rw-r--r--src/net/ea/tradehandler.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 3e5db9169..c568012fc 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -60,7 +60,7 @@ namespace
/**
* Listener used for handling the overweigth message.
*/
- struct WeightListener final : public gcn::ActionListener
+ struct WeightListener final : public ActionListener
{
void action(const gcn::ActionEvent &event A_UNUSED)
{
@@ -71,7 +71,7 @@ namespace
/**
* Listener used for handling death message.
*/
- struct DeathListener final : public gcn::ActionListener
+ struct DeathListener final : public ActionListener
{
void action(const gcn::ActionEvent &event A_UNUSED)
{
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 9457a31db..adecd591f 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -48,7 +48,7 @@ ConfirmDialog *confirmDlg = nullptr;
*/
namespace
{
- struct RequestTradeListener : public gcn::ActionListener
+ struct RequestTradeListener : public ActionListener
{
void action(const gcn::ActionEvent &event)
{