diff options
Diffstat (limited to 'src/core/application.cc')
-rw-r--r-- | src/core/application.cc | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/core/application.cc b/src/core/application.cc index 14bb9f3..b181178 100644 --- a/src/core/application.cc +++ b/src/core/application.cc @@ -469,10 +469,30 @@ void Application::notify_message(const core::Message::Channel channel, const std } } +void Application::messagebox(const char *text, const char *label1, const char *command1, const char *label2, const char *command2) +{ + std::string str_text(text ? text : "" ); + + std::string str_label1(label1 ? label1 : "" ); + std::string str_command1(command1 ? command1 : "" ); + + std::string str_label2(label2 ? label2 : "" ); + std::string str_command2(command2 ? command2 : "" ); + + notify_messagebox(str_text, str_label1, str_command1, str_label2, str_command2); +} + + +void Application::notify_messagebox(const std::string & text, const std::string &label1, const std::string command1, const std::string &label2, const std::string command2) +{ + // the default implementation does nothing + // used by the client to show messageboxes +} + void Application::notify_loader(const std::string &message) { // the default implementation does nothing. - // used by the client to udpate the loader screen + // used by the client to update the loader screen } void Application::notify_zonechange() |