summaryrefslogtreecommitdiff
path: root/bouncer/core.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2014-02-14 01:26:01 +0100
committerTreeki <treeki@gmail.com>2014-02-14 01:26:01 +0100
commitf07f7dd153d6c605e98143c594d2a578457a724e (patch)
tree5f40de6c2bc9a8fbff9d816d86456cadcb26c05f /bouncer/core.h
parentd6beb37b20cd631d2fb129339e1d23a148454917 (diff)
downloadbounce4-f07f7dd153d6c605e98143c594d2a578457a724e.tar.gz
bounce4-f07f7dd153d6c605e98143c594d2a578457a724e.zip
add richtext support and message priorities
Diffstat (limited to 'bouncer/core.h')
-rw-r--r--bouncer/core.h4
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();