summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/IRCClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/IRCClient/IRCClient.h')
-rw-r--r--Applications/IRCClient/IRCClient.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Applications/IRCClient/IRCClient.h b/Applications/IRCClient/IRCClient.h
index 44f4c85bcd..87a3935387 100644
--- a/Applications/IRCClient/IRCClient.h
+++ b/Applications/IRCClient/IRCClient.h
@@ -5,10 +5,10 @@
#include <AK/CircularQueue.h>
#include <AK/Function.h>
#include "IRCLogBuffer.h"
+#include "IRCWindow.h"
class IRCChannel;
class IRCQuery;
-class IRCWindow;
class IRCWindowListModel;
class GNotifier;
@@ -32,11 +32,10 @@ public:
Function<void()> on_connect;
Function<void()> on_disconnect;
- Function<void(const String& channel)> on_channel_message;
- Function<void(const String& name)> on_query_message;
- Function<void(const String& channel)> on_join;
Function<void()> on_server_message;
+ Function<IRCWindow*(void*, IRCWindow::Type, const String&)> aid_create_window;
+
void register_subwindow(IRCWindow&);
void unregister_subwindow(IRCWindow&);