Add delete_all_remote_backups and some refactoring.

This commit is contained in:
J-D-K
2025-08-01 13:53:57 -04:00
parent 73af5ffe7e
commit 8172e59ccf
73 changed files with 1450 additions and 833 deletions

View File

@@ -33,6 +33,15 @@ MainMenuState::MainMenuState()
MainMenuState::initialize_view_states();
}
std::shared_ptr<MainMenuState> MainMenuState::create() { return std::make_shared<MainMenuState>(); }
std::shared_ptr<MainMenuState> MainMenuState::create_and_push()
{
auto newState = MainMenuState::create();
StateManager::push_state(newState);
return newState;
}
void MainMenuState::update()
{
const int selected = m_mainMenu.get_selected();