Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-19 16:03:56 +0000
committerStijn Buys <ingar@osirion.org>2008-10-19 16:03:56 +0000
commit1d580ed36893b24b618ff1e6f9023e497c62498c (patch)
treeac942e5fd15811c6ea2fa449f88f5c4cc4187d30 /src/core
parent56cdfd3822d2800abdd2f912ab7f76a5764793a7 (diff)
on-screen notifications
Diffstat (limited to 'src/core')
-rw-r--r--src/core/application.cc2
-rw-r--r--src/core/application.h2
2 files changed, 2 insertions, 2 deletions
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();