mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:57:46 +00:00
IRCClient: Add a little "(n)" indicator to window list for unread messages.
This commit is contained in:
parent
1394677528
commit
b4f787090c
9 changed files with 68 additions and 14 deletions
|
@ -30,11 +30,16 @@ public:
|
|||
|
||||
bool is_nick_prefix(char) const;
|
||||
|
||||
IRCWindow* current_window() { return aid_get_active_window(); }
|
||||
const IRCWindow* current_window() const { return aid_get_active_window(); }
|
||||
|
||||
Function<void()> on_connect;
|
||||
Function<void()> on_disconnect;
|
||||
Function<void()> on_server_message;
|
||||
|
||||
Function<IRCWindow*(void*, IRCWindow::Type, const String&)> aid_create_window;
|
||||
Function<IRCWindow*()> aid_get_active_window;
|
||||
Function<void()> aid_update_window_list;
|
||||
|
||||
void register_subwindow(IRCWindow&);
|
||||
void unregister_subwindow(IRCWindow&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue