diff options
author | Treeki <treeki@gmail.com> | 2014-02-14 01:26:01 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-02-14 01:26:01 +0100 |
commit | f07f7dd153d6c605e98143c594d2a578457a724e (patch) | |
tree | 5f40de6c2bc9a8fbff9d816d86456cadcb26c05f /bouncer/core.h | |
parent | d6beb37b20cd631d2fb129339e1d23a148454917 (diff) | |
download | bounce4-f07f7dd153d6c605e98143c594d2a578457a724e.tar.gz bounce4-f07f7dd153d6c605e98143c594d2a578457a724e.zip |
add richtext support and message priorities
Diffstat (limited to '')
-rw-r--r-- | bouncer/core.h | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |