MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / Validate

Function Validate

src/command/app.cpp:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 bool Validate(const agi::Context *c) override {
77 return !!c->project->AudioProvider();
78 }
79
80 bool IsActive(const agi::Context *c) override {
81 return c->frame->IsAudioShown() && !c->frame->IsVideoShown();

Callers 1

TransferFromWindowMethod · 0.50

Calls 2

VideoProviderMethod · 0.80
AudioProviderMethod · 0.45

Tested by

no test coverage detected