From f07f7dd153d6c605e98143c594d2a578457a724e Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 14 Feb 2014 01:26:01 +0100 Subject: add richtext support and message priorities --- bouncer/core.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bouncer/core.h') diff --git a/bouncer/core.h b/bouncer/core.h index 1a13a1d..28b99f2 100644 --- a/bouncer/core.h +++ b/bouncer/core.h @@ -66,7 +66,7 @@ public: virtual void handleUserInput(const char *str) { } virtual void handleUserClosed(); - void pushMessage(const char *str); + void pushMessage(const char *str, int priority = 0); void notifyWindowRename(); }; @@ -109,6 +109,8 @@ public: void handleTopic(const UserRef &user, const char *message); void handleTopicInfo(const char *user, int timestamp); + void outputUserMessage(const char *nick, const char *message, bool isAction); + char getEffectivePrefixChar(const char *nick) const; void disconnected(); -- cgit v1.2.3