mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
implement restore feature for navbar request, change id data type to sqlite3_int64
This commit is contained in:
parent
9d88b4aa16
commit
6b6ae753bc
7 changed files with 167 additions and 11 deletions
|
|
@ -36,6 +36,7 @@ namespace app::browser::main::tab::page
|
|||
enum
|
||||
{
|
||||
ID,
|
||||
APP_BROWSER_MAIN_TAB_PAGE__SESSION__ID,
|
||||
TIME
|
||||
}; // table fields index
|
||||
|
||||
|
|
@ -45,7 +46,7 @@ namespace app::browser::main::tab::page
|
|||
|
||||
static int clean(
|
||||
sqlite3 * db,
|
||||
const int & APP_BROWSER_MAIN_TAB_PAGE__SESSION__ID
|
||||
const sqlite3_int64 & APP_BROWSER_MAIN_TAB_PAGE__SESSION__ID
|
||||
); // return sqlite3_finalize status code
|
||||
|
||||
static sqlite3_int64 add(
|
||||
|
|
@ -92,6 +93,10 @@ namespace app::browser::main::tab::page
|
|||
const double & PROGRESS_FRACTION
|
||||
);
|
||||
|
||||
int restore(
|
||||
const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID
|
||||
);
|
||||
|
||||
int save(
|
||||
const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue