| 2255 | }; |
| 2256 | |
| 2257 | MainMenu::MainMenu( const Sound::SoundEnginePtr& sound_engine, HostCommands& host_commands ) |
| 2258 | : MenuBase( nullptr, sound_engine ) |
| 2259 | , host_commands_(host_commands) |
| 2260 | { |
| 2261 | submenus_[0].reset( new NewGameMenu( this, sound_engine, host_commands ) ); |
| 2262 | submenus_[1].reset( new NetworkMenu( this, sound_engine, host_commands ) ); |
| 2263 | submenus_[2].reset( new SaveLoadMenu( this, sound_engine, host_commands, SaveLoadMenu::What::Save ) ); |
| 2264 | submenus_[3].reset( new SaveLoadMenu( this, sound_engine, host_commands, SaveLoadMenu::What::Load ) ); |
| 2265 | submenus_[4].reset( new OptionsMenu( this, sound_engine, host_commands ) ); |
| 2266 | submenus_[5].reset( new QuitMenu( this, sound_engine, host_commands ) ); |
| 2267 | } |
| 2268 | |
| 2269 | MainMenu::~MainMenu() |
| 2270 | {} |
nothing calls this directly
no outgoing calls
no test coverage detected