aboutsummaryrefslogtreecommitdiff
path: root/src/WindowActionRouter.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-04 18:47:15 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-04 18:47:18 +0530
commit8eda8343757b2161535388387b0525e0fd56f569 (patch)
tree3e027aac8cb03bffb598b6d6abf31671a2637ab1 /src/WindowActionRouter.hpp
parent8433630d1f315d1b66e8dd8f914c1fb73dade9ae (diff)
downloadnull-browser-8eda8343757b2161535388387b0525e0fd56f569.tar.gz
null-browser-8eda8343757b2161535388387b0525e0fd56f569.zip
Open new window on new window/dialog request
Diffstat (limited to '')
-rw-r--r--src/WindowActionRouter.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/WindowActionRouter.hpp b/src/WindowActionRouter.hpp
index 62aa65d..67bc681 100644
--- a/src/WindowActionRouter.hpp
+++ b/src/WindowActionRouter.hpp
@@ -46,9 +46,13 @@ protected:
void add_keymap(const QString &mode_string, const QString &keyseq,
std::function<void()> action);
+signals:
+ void new_window_requested(const QUrl &url);
+
private:
WindowMap window_map;
uint64_t last_id = 1;
+ Configuration *configuration;
std::mutex events_mutex;
std::unordered_map<std::string, std::vector<EventHandlerRequest>> events;