mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-09-12 20:45:11 -05:00
Add delete_all_remote_backups and some refactoring.
This commit is contained in:
@@ -32,6 +32,18 @@ TextTitleSelectState::TextTitleSelectState(data::User *user)
|
||||
TextTitleSelectState::refresh();
|
||||
}
|
||||
|
||||
std::shared_ptr<TextTitleSelectState> TextTitleSelectState::create(data::User *user)
|
||||
{
|
||||
return std::make_shared<TextTitleSelectState>(user);
|
||||
}
|
||||
|
||||
std::shared_ptr<TextTitleSelectState> TextTitleSelectState::create_and_push(data::User *user)
|
||||
{
|
||||
auto newState = TextTitleSelectState::create(user);
|
||||
StateManager::push_state(newState);
|
||||
return newState;
|
||||
}
|
||||
|
||||
void TextTitleSelectState::update()
|
||||
{
|
||||
const bool hasFocus = BaseState::has_focus();
|
||||
|
||||
Reference in New Issue
Block a user