| 487 | } |
| 488 | public: |
| 489 | AutomationMenu(agi::Context *c, CommandManager *cm) |
| 490 | : c(c) |
| 491 | , cm(cm) |
| 492 | , global_slot(config::global_scripts->AddScriptChangeListener(&AutomationMenu::Regenerate, this)) |
| 493 | , local_slot(c->local_scripts->AddScriptChangeListener(&AutomationMenu::Regenerate, this)) |
| 494 | { |
| 495 | cm->AddCommand(cmd::get("am/meta"), this); |
| 496 | AppendSeparator(); |
| 497 | Regenerate(); |
| 498 | } |
| 499 | }; |
| 500 | } |
| 501 |
nothing calls this directly
no test coverage detected