MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / init

Method init

plugins/single_plugins/command.cpp:304–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

connectMethod · 0.80
register_methodMethod · 0.80

Tested by

no test coverage detected