mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
rename database pointer
This commit is contained in:
parent
3870e3f53c
commit
9904dfcb34
17 changed files with 161 additions and 161 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue