summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-23 07:51:23 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-23 07:51:23 -0600
commite3e835e1c03b38d7819b5cb8aba92e0f300b10fa (patch)
treed89a617149abf91a6d3e3a887352183e6264091e /src/gui/chat.h
parent9e19447c99400633a9abec9161c11d392742e067 (diff)
downloadMana-e3e835e1c03b38d7819b5cb8aba92e0f300b10fa.tar.gz
Mana-e3e835e1c03b38d7819b5cb8aba92e0f300b10fa.tar.bz2
Mana-e3e835e1c03b38d7819b5cb8aba92e0f300b10fa.tar.xz
Mana-e3e835e1c03b38d7819b5cb8aba92e0f300b10fa.zip
Make some getters const
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 a64f24cd..972ecf9a 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -187,7 +187,7 @@ class ChatWindow : public Window,
void scroll(int amount);
#ifdef EATHENA_SUPPORT
- char getPartyPrefix() { return mPartyPrefix; }
+ char getPartyPrefix() const { return mPartyPrefix; }
void setPartyPrefix(char prefix) { mPartyPrefix = prefix; }
#endif
@@ -198,7 +198,7 @@ class ChatWindow : public Window,
*/
void setRecordingFile(const std::string &msg);
- bool getReturnTogglesChat() { return mReturnToggles; }
+ bool getReturnTogglesChat() const { return mReturnToggles; }
void setReturnTogglesChat(bool toggles) { mReturnToggles = toggles; }
void doPresent();