From 1d580ed36893b24b618ff1e6f9023e497c62498c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 19 Oct 2008 16:03:56 +0000 Subject: on-screen notifications --- src/core/application.cc | 2 +- src/core/application.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/application.cc b/src/core/application.cc index 71d739f..09e900d 100644 --- a/src/core/application.cc +++ b/src/core/application.cc @@ -518,7 +518,7 @@ void Application::load_commandline(int count, char **arguments) cmd() << '\n'; } -void Application::notify_message(Message::Channel const channel, std::string const message) +void Application::notify_message(const core::Message::Channel channel, const std::string &message) { con_print << message << std::endl; } diff --git a/src/core/application.h b/src/core/application.h index 229f318..f241aa3 100644 --- a/src/core/application.h +++ b/src/core/application.h @@ -70,7 +70,7 @@ public: virtual void notify_sound(const char * name); /// text notifications from the core to the application - virtual void notify_message(Message::Channel const channel, std::string const message); + virtual void notify_message(const core::Message::Channel channel, const std::string &message); /// connect notification virtual void notify_connect(); -- cgit v1.2.3