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

Function load_subtitles

src/command/subtitle.cpp:227–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void load_subtitles(agi::Context *c, agi::fs::path const& path, std::string const& encoding="") {
228#ifdef __APPLE__
229 wxGetApp().NewProjectContext().project->LoadSubtitles(path, encoding);
230#else
231 c->project->LoadSubtitles(path, encoding);
232#endif
233}
234
235struct subtitle_new final : public Command {
236 CMD_NAME("subtitle/new")

Callers 2

subtitle_openClass · 0.85
operator()Function · 0.85

Calls 1

LoadSubtitlesMethod · 0.45

Tested by

no test coverage detected