summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-24 21:38:28 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-24 21:38:28 +0200
commit18b6856aa416473019bc36ead2c0e9cda3719a44 (patch)
treeb08f3ed09378dd288f3e4605ad9160d901640dc4 /src/gui/chat.h
parent768f3d93019b262ce6aa9f913aed0f45d5e4c929 (diff)
parent4e18e7619e9a8c909dea3374a2a7aa39befe0c16 (diff)
downloadmana-client-18b6856aa416473019bc36ead2c0e9cda3719a44.tar.gz
mana-client-18b6856aa416473019bc36ead2c0e9cda3719a44.tar.bz2
mana-client-18b6856aa416473019bc36ead2c0e9cda3719a44.tar.xz
mana-client-18b6856aa416473019bc36ead2c0e9cda3719a44.zip
Merge branch '0.0.29'
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index c6e8e326..7080392e 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -136,7 +136,7 @@ class ChatWindow : public Window,
*
* @param msg The message text which is to be sent.
*/
- void chatInput(std::string &msg);
+ void chatInput(const std::string &msg);
/** Called when key is pressed */
void keyPressed(gcn::KeyEvent &event);
@@ -171,7 +171,7 @@ class ChatWindow : public Window,
void doPresent();
- void whisper(const std::string &nick, std::string mes,
+ void whisper(const std::string &nick, const std::string &mes,
bool own = false);
ChatTab *addWhisperTab(const std::string &nick, bool switchTo = false);