aboutsummaryrefslogtreecommitdiff
path: root/src/WindowActionRouter.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-05 10:33:38 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-05 10:34:22 +0530
commit7e09b35b008f58809ac56184a4f83ab875c038e0 (patch)
tree3f7acdb64d2b063760fa22529826aa418e249750 /src/WindowActionRouter.hpp
parent8eda8343757b2161535388387b0525e0fd56f569 (diff)
downloadnull-browser-7e09b35b008f58809ac56184a4f83ab875c038e0.tar.gz
null-browser-7e09b35b008f58809ac56184a4f83ab875c038e0.zip
Add instance manager for enforcing single instance
Diffstat (limited to '')
-rw-r--r--src/WindowActionRouter.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WindowActionRouter.hpp b/src/WindowActionRouter.hpp
index 67bc681..7e9f5d3 100644
--- a/src/WindowActionRouter.hpp
+++ b/src/WindowActionRouter.hpp
@@ -54,6 +54,7 @@ private:
uint64_t last_id = 1;
Configuration *configuration;
+ // TODO: Split event handling to its own class
std::mutex events_mutex;
std::unordered_map<std::string, std::vector<EventHandlerRequest>> events;
};