| 30 | { |
| 31 | public: |
| 32 | void init() override |
| 33 | { |
| 34 | method_repository->register_method("wsets/set-output-wset", set_output_wset); |
| 35 | method_repository->register_method("wsets/send-view-to-wset", send_view_to_wset); |
| 36 | setup_bindings(); |
| 37 | wf::get_core().output_layout->connect(&on_new_output); |
| 38 | for (auto& wo : wf::get_core().output_layout->get_outputs()) |
| 39 | { |
| 40 | available_sets[wo->wset()->get_index()] = wo->wset(); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | void fini() override |
| 45 | { |
nothing calls this directly
no test coverage detected