Browse Source

rename method

CPP-GTK4
yggverse 2 months ago
parent
commit
e3c721597d
  1. 10
      src/app/browser/main/tab.cpp
  2. 4
      src/app/browser/main/tab.hpp
  3. 2
      src/app/browser/main/tab/page.cpp
  4. 2
      src/app/browser/main/tab/page.hpp

10
src/app/browser/main/tab.cpp

@ -92,9 +92,9 @@ int Tab::restore() @@ -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() @@ -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( @@ -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( @@ -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
);

4
src/app/browser/main/tab.hpp

@ -37,7 +37,7 @@ namespace app::browser::main @@ -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 @@ -113,7 +113,7 @@ namespace app::browser::main
int restore();
void clear();
void clean();
void save();

2
src/app/browser/main/tab/page.cpp

@ -387,7 +387,7 @@ int Page::DB::APP_BROWSER_MAIN_TAB_PAGE__SESSION::init( @@ -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
) {

2
src/app/browser/main/tab/page.hpp

@ -52,7 +52,7 @@ namespace app::browser::main::tab @@ -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
);

Loading…
Cancel
Save