rename method

This commit is contained in:
yggverse 2024-09-11 00:32:30 +03:00
parent b3635c77bc
commit e3c721597d
4 changed files with 9 additions and 9 deletions

View File

@ -92,9 +92,9 @@ int Tab::restore()
return PREPARE_STATUS;
}
void Tab::clear() // @TODO menu action?
void Tab::clean() // @TODO menu action?
{
DB::APP_BROWSER_MAIN_TAB__SESSION::clear(
DB::APP_BROWSER_MAIN_TAB__SESSION::clean(
db
);
@ -106,7 +106,7 @@ void Tab::save()
char * error; // @TODO
// Delete previous data
DB::APP_BROWSER_MAIN_TAB__SESSION::clear(
DB::APP_BROWSER_MAIN_TAB__SESSION::clean(
db
);
@ -355,7 +355,7 @@ int Tab::DB::APP_BROWSER_MAIN_TAB__SESSION::init(
);
}
int Tab::DB::APP_BROWSER_MAIN_TAB__SESSION::clear(
int Tab::DB::APP_BROWSER_MAIN_TAB__SESSION::clean(
sqlite3 * db
) {
char * error; // @TODO
@ -396,7 +396,7 @@ int Tab::DB::APP_BROWSER_MAIN_TAB__SESSION::clear(
);
// Delegate cleanup childs
tab::Page::DB::APP_BROWSER_MAIN_TAB_PAGE__SESSION::clear(
tab::Page::DB::APP_BROWSER_MAIN_TAB_PAGE__SESSION::clean(
db,
APP_BROWSER_MAIN_TAB__SESSION_ID
);

View File

@ -37,7 +37,7 @@ namespace app::browser::main
sqlite3 * db
);
static int clear(
static int clean(
sqlite3 * db
);
@ -113,7 +113,7 @@ namespace app::browser::main
int restore();
void clear();
void clean();
void save();

View File

@ -387,7 +387,7 @@ int Page::DB::APP_BROWSER_MAIN_TAB_PAGE__SESSION::init(
);
}
int Page::DB::APP_BROWSER_MAIN_TAB_PAGE__SESSION::clear(
int Page::DB::APP_BROWSER_MAIN_TAB_PAGE__SESSION::clean(
sqlite3 * db,
const int & DB__APP_BROWSER_MAIN_TAB__SESSION_ID
) {

View File

@ -52,7 +52,7 @@ namespace app::browser::main::tab
sqlite3 * db
);
static int clear(
static int clean(
sqlite3 * db,
const int & DB__APP_BROWSER_MAIN_TAB__SESSION_ID
);