summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/chattab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 21:16:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 21:16:44 +0300
commit4749c8977e2e803692bd844b5400f8d72cbaf17f (patch)
treeb60511d5c852566722590a7b0501a110ce0c2e99 /src/gui/widgets/tabs/chat/chattab.h
parent3a883849147535b449bf4eb24563da4db8a1ef9c (diff)
downloadmanaplus-4749c8977e2e803692bd844b5400f8d72cbaf17f.tar.gz
manaplus-4749c8977e2e803692bd844b5400f8d72cbaf17f.tar.bz2
manaplus-4749c8977e2e803692bd844b5400f8d72cbaf17f.tar.xz
manaplus-4749c8977e2e803692bd844b5400f8d72cbaf17f.zip
Add strong typed bool type Online.
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.h')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h
index ac6129194..cc694a874 100644
--- a/src/gui/widgets/tabs/chat/chattab.h
+++ b/src/gui/widgets/tabs/chat/chattab.h
@@ -25,6 +25,8 @@
#include "enums/gui/chatmsgtype.h"
+#include "enums/simpletypes/online.h"
+
#include "gui/widgets/browserbox.h"
#include "gui/widgets/tabs/tab.h"
@@ -168,7 +170,7 @@ class ChatTab notfinal : public Tab
void addNewRow(std::string &line);
void showOnline(const std::string &nick,
- const bool isOnline);
+ const Online online);
virtual void playNewMessageSound() const;