implement separated save action

This commit is contained in:
yggverse 2024-09-09 23:21:07 +03:00
parent 14ccb17169
commit 55524221ff
2 changed files with 8 additions and 1 deletions

View file

@ -107,7 +107,7 @@ Tab::Tab(
); );
} }
void Tab::shutdown() void Tab::save()
{ {
char * error; // @TODO char * error; // @TODO
@ -154,6 +154,11 @@ void Tab::shutdown()
&error &error
); );
} }
}
void Tab::shutdown()
{
save();
// @TODO shutdown children components // @TODO shutdown children components
} }

View file

@ -94,6 +94,8 @@ namespace app::browser::main
const int & PAGE_NUMBER const int & PAGE_NUMBER
); );
void save();
void shutdown(); void shutdown();
// Getters // Getters