summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-04-16 20:02:31 +0200
committerPhilipp Sehmisch <crush@themanaworld.org>2009-04-16 20:02:31 +0200
commit255c491375005abb1d2de22fa5aa1a821ac3a4f6 (patch)
treeb474bd4c0d5429ddd45d992015a7ed73a12a1830 /src/gui/widgets/chattab.h
parent2fb36c5f27e2891bbd9968bdf9bbc7142ff28983 (diff)
parent69258182848b2781b0081d82453d33f42dd81679 (diff)
downloadmana-255c491375005abb1d2de22fa5aa1a821ac3a4f6.tar.gz
mana-255c491375005abb1d2de22fa5aa1a821ac3a4f6.tar.bz2
mana-255c491375005abb1d2de22fa5aa1a821ac3a4f6.tar.xz
mana-255c491375005abb1d2de22fa5aa1a821ac3a4f6.zip
Merge branch 'master' of git@gitorious.org:tmw/mainline
Diffstat (limited to 'src/gui/widgets/chattab.h')
-rw-r--r--src/gui/widgets/chattab.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h
index ccb85d2a..27c27480 100644
--- a/src/gui/widgets/chattab.h
+++ b/src/gui/widgets/chattab.h
@@ -113,7 +113,8 @@ class ChatTab : public Tab
* @returns true if the command was handled
* false if the command was not handled
*/
- virtual bool handleCommand(std::string type, std::string args)
+ virtual bool handleCommand(const std::string &type,
+ const std::string &args)
{ return false; }
protected:
@@ -124,7 +125,7 @@ class ChatTab : public Tab
virtual void handleInput(const std::string &msg);
- virtual void handleCommand(std::string msg);
+ virtual void handleCommand(const std::string &msg);
ScrollArea *mScrollArea;
BrowserBox *mTextOutput;