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

Function init_recent

src/command/recent.cpp:123–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121
122namespace cmd {
123 void init_recent() {
124 reg(std::make_unique<recent_audio>());
125 reg(std::make_unique<recent_keyframes>());
126 reg(std::make_unique<recent_subtitle>());
127 reg(std::make_unique<recent_timecodes>());
128 reg(std::make_unique<recent_video>());
129
130 for (int i = 0; i < 16; ++i) {
131 reg(std::make_unique<mru_wrapper<recent_audio_entry>>(i));
132 reg(std::make_unique<mru_wrapper<recent_keyframes_entry>>(i));
133 reg(std::make_unique<mru_wrapper<recent_subtitle_entry>>(i));
134 reg(std::make_unique<mru_wrapper<recent_timecodes_entry>>(i));
135 reg(std::make_unique<mru_wrapper<recent_video_entry>>(i));
136 }
137 }
138}

Callers 1

init_builtin_commandsFunction · 0.85

Calls 1

regFunction · 0.85

Tested by

no test coverage detected