| 302 | }; |
| 303 | |
| 304 | void init() |
| 305 | { |
| 306 | using namespace std::placeholders; |
| 307 | setup_bindings_from_config(); |
| 308 | wf::get_core().connect(&on_reload_config); |
| 309 | |
| 310 | method_repository->connect(&on_client_disconnect); |
| 311 | method_repository->register_method("command/register-binding", on_register_binding); |
| 312 | method_repository->register_method("command/unregister-binding", on_unregister_binding); |
| 313 | method_repository->register_method("command/clear-bindings", on_clear_ipc_bindings); |
| 314 | } |
| 315 | |
| 316 | void fini() |
| 317 | { |
nothing calls this directly
no test coverage detected