delegate db actions to label class

This commit is contained in:
yggverse 2024-09-11 05:16:37 +03:00
parent 6b6ae753bc
commit b67b9561fb
10 changed files with 291 additions and 59 deletions

View file

@ -144,11 +144,9 @@ int Navigation::restore(
}
}
sqlite3_finalize(
return sqlite3_finalize(
statement
);
return PREPARE_STATUS;
}
int Navigation::save(

View file

@ -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

View file

@ -124,11 +124,9 @@ int Request::restore(
}
}
sqlite3_finalize(
return sqlite3_finalize(
statement
);
return PREPARE_STATUS;
}
int Request::save(

View file

@ -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