diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-16 12:22:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-16 12:28:10 +0300 |
commit | 0d73f54f842a9690c65faedf094112017fd07430 (patch) | |
tree | ca009ae0b366a95ad9c0fef1fa518ad60f8dbac2 /src/client.cpp | |
parent | 85e89895c4f7a53721a6bd93b47a79d5537d263a (diff) | |
download | plus-0d73f54f842a9690c65faedf094112017fd07430.tar.gz plus-0d73f54f842a9690c65faedf094112017fd07430.tar.bz2 plus-0d73f54f842a9690c65faedf094112017fd07430.tar.xz plus-0d73f54f842a9690c65faedf094112017fd07430.zip |
move actionevent into events directory.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client.cpp b/src/client.cpp index 3812fc9a9..0fac5b3f2 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -174,7 +174,7 @@ UserPalette *userPalette = nullptr; SoundManager soundManager; RenderType openGLMode = RENDER_SOFTWARE; -void ErrorListener::action(const gcn::ActionEvent &event) +void ErrorListener::action(const ActionEvent &event) { if (event.getId() == "yes") openBrowser(client->getSupportUrl()); @@ -196,7 +196,7 @@ extern "C" char const *_nl_locale_name_default(void); class AccountListener final : public ActionListener { public: - void action(const gcn::ActionEvent &) + void action(const ActionEvent &) { client->setState(STATE_CHAR_SELECT); } @@ -205,7 +205,7 @@ class AccountListener final : public ActionListener class LoginListener final : public ActionListener { public: - void action(const gcn::ActionEvent &) + void action(const ActionEvent &) { client->setState(STATE_PRE_LOGIN); } @@ -1351,7 +1351,7 @@ int Client::gameExec() if (mOptions.chooseDefault) { static_cast<WorldSelectDialog*>(mCurrentDialog) - ->action(gcn::ActionEvent(nullptr, "ok")); + ->action(ActionEvent(nullptr, "ok")); } } } @@ -1853,7 +1853,7 @@ void Client::optionChanged(const std::string &name) } } -void Client::action(const gcn::ActionEvent &event) +void Client::action(const ActionEvent &event) { std::string tab; const std::string &eventId = event.getId(); |