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()
return PREPARE_STATUS; 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 db
); );
@ -106,7 +106,7 @@ void Tab::save()
char * error; // @TODO char * error; // @TODO
// Delete previous data // Delete previous data
DB::APP_BROWSER_MAIN_TAB__SESSION::clear( DB::APP_BROWSER_MAIN_TAB__SESSION::clean(
db 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 sqlite3 * db
) { ) {
char * error; // @TODO char * error; // @TODO
@ -396,7 +396,7 @@ int Tab::DB::APP_BROWSER_MAIN_TAB__SESSION::clear(
); );
// Delegate cleanup childs // Delegate cleanup childs
tab::Page::DB::APP_BROWSER_MAIN_TAB_PAGE__SESSION::clear( tab::Page::DB::APP_BROWSER_MAIN_TAB_PAGE__SESSION::clean(
db, db,
APP_BROWSER_MAIN_TAB__SESSION_ID APP_BROWSER_MAIN_TAB__SESSION_ID
); );

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

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

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

@ -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, sqlite3 * db,
const int & DB__APP_BROWSER_MAIN_TAB__SESSION_ID 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
sqlite3 * db sqlite3 * db
); );
static int clear( static int clean(
sqlite3 * db, sqlite3 * db,
const int & DB__APP_BROWSER_MAIN_TAB__SESSION_ID const int & DB__APP_BROWSER_MAIN_TAB__SESSION_ID
); );

Loading…
Cancel
Save