mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
delegate db actions to label class
This commit is contained in:
parent
6b6ae753bc
commit
b67b9561fb
10 changed files with 291 additions and 59 deletions
|
|
@ -144,11 +144,9 @@ int Navigation::restore(
|
|||
}
|
||||
}
|
||||
|
||||
sqlite3_finalize(
|
||||
return sqlite3_finalize(
|
||||
statement
|
||||
);
|
||||
|
||||
return PREPARE_STATUS;
|
||||
}
|
||||
|
||||
int Navigation::save(
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ namespace app::browser::main::tab::page
|
|||
|
||||
int restore(
|
||||
const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID
|
||||
);
|
||||
); // return sqlite3_finalize status code
|
||||
|
||||
int save(
|
||||
const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID
|
||||
|
|
|
|||
|
|
@ -124,11 +124,9 @@ int Request::restore(
|
|||
}
|
||||
}
|
||||
|
||||
sqlite3_finalize(
|
||||
return sqlite3_finalize(
|
||||
statement
|
||||
);
|
||||
|
||||
return PREPARE_STATUS;
|
||||
}
|
||||
|
||||
int Request::save(
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ namespace app::browser::main::tab::page::navigation
|
|||
|
||||
int restore(
|
||||
const sqlite3_int64 & APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION__SESSION__ID
|
||||
);
|
||||
); // return sqlite3_finalize status code
|
||||
|
||||
int save(
|
||||
const sqlite3_int64 & APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION__SESSION__ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue