rename database pointer

This commit is contained in:
yggverse 2024-09-16 17:19:10 +03:00
parent 3870e3f53c
commit 9904dfcb34
17 changed files with 161 additions and 161 deletions

View file

@ -38,16 +38,16 @@ namespace app::browser
}; // table fields index
static int init(
sqlite3 * db
sqlite3 * database
); // return sqlite3_exec status code
static int clean(
sqlite3 * db,
sqlite3 * database,
const sqlite3_int64 & APP_BROWSER__SESSION__ID
); // return sqlite3_finalize status code
static sqlite3_int64 add(
sqlite3 * db,
sqlite3 * database,
const sqlite3_int64 & APP_BROWSER__SESSION__ID
); // return sqlite3_last_insert_rowid
@ -60,7 +60,7 @@ namespace app::browser
private:
// Database
sqlite3 * db;
sqlite3 * database;
// Components
main::Tab * mainTab;
@ -74,7 +74,7 @@ namespace app::browser
public:
Main(
sqlite3 * db,
sqlite3 * database,
const Glib::RefPtr<Gio::SimpleAction> & ACTION__CLOSE,
const Glib::RefPtr<Gio::SimpleAction> & ACTION__CLOSE_ALL,
const Glib::RefPtr<Gio::SimpleAction> & ACTION__HISTORY_BACK,