mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
IRCClient: Add a little "(n)" indicator to window list for unread messages.
This commit is contained in:
parent
1394677528
commit
b4f787090c
Notes:
sideshowbarker
2024-07-19 15:02:02 +09:00
Author: https://github.com/awesomekling
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