| 2280 | typedef df::viewscreen_unitlistst interpose_base; |
| 2281 | |
| 2282 | DEFINE_VMETHOD_INTERPOSE(void, feed, (set<df::interface_key> *input)) |
| 2283 | { |
| 2284 | if (input->count(interface_key::UNITVIEW_PRF_PROF)) |
| 2285 | { |
| 2286 | if (units[page].size()) |
| 2287 | { |
| 2288 | Screen::show(std::make_unique<viewscreen_unitlaborsst>(units[page], cursor_pos[page]), plugin_self); |
| 2289 | return; |
| 2290 | } |
| 2291 | } |
| 2292 | INTERPOSE_NEXT(feed)(input); |
| 2293 | } |
| 2294 | |
| 2295 | DEFINE_VMETHOD_INTERPOSE(void, render, ()) |
| 2296 | { |
nothing calls this directly
no test coverage detected