mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-12 13:41:34 +00:00
remove extra clean action from class api
This commit is contained in:
parent
e122eec9c1
commit
98437884e1
@ -309,6 +309,8 @@ void Browser::clean()
|
|||||||
DB::SESSION::clean(
|
DB::SESSION::clean(
|
||||||
db
|
db
|
||||||
);
|
);
|
||||||
|
|
||||||
|
browserMain->tab_close_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Browser::save()
|
void Browser::save()
|
||||||
|
@ -45,17 +45,6 @@ Main::Main(
|
|||||||
// Actions
|
// Actions
|
||||||
|
|
||||||
/// Session
|
/// Session
|
||||||
void Main::clean(
|
|
||||||
const sqlite3_int64 & APP_BROWSER__SESSION__ID
|
|
||||||
) {
|
|
||||||
DB::SESSION::clean(
|
|
||||||
db,
|
|
||||||
APP_BROWSER__SESSION__ID
|
|
||||||
);
|
|
||||||
|
|
||||||
mainTab->close_all();
|
|
||||||
};
|
|
||||||
|
|
||||||
int Main::restore(
|
int Main::restore(
|
||||||
const sqlite3_int64 & APP_BROWSER__SESSION__ID
|
const sqlite3_int64 & APP_BROWSER__SESSION__ID
|
||||||
) {
|
) {
|
||||||
|
@ -98,10 +98,6 @@ namespace app::browser
|
|||||||
const sqlite3_int64 & APP_BROWSER__SESSION__ID
|
const sqlite3_int64 & APP_BROWSER__SESSION__ID
|
||||||
); // return sqlite3_finalize status code
|
); // return sqlite3_finalize status code
|
||||||
|
|
||||||
void clean(
|
|
||||||
const sqlite3_int64 & APP_BROWSER__SESSION__ID
|
|
||||||
);
|
|
||||||
|
|
||||||
void save(
|
void save(
|
||||||
const sqlite3_int64 & APP_BROWSER__SESSION__ID
|
const sqlite3_int64 & APP_BROWSER__SESSION__ID
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user