save tab session to profile database on application quit

This commit is contained in:
yggverse 2024-09-09 07:18:49 +03:00
parent dfcc131ce2
commit 881e1b78d6
7 changed files with 92 additions and 15 deletions

View file

@ -18,6 +18,9 @@ namespace app::browser::main
class Tab : public Gtk::Notebook
{
// Database
sqlite3 * db;
// Actions
Glib::RefPtr<Gio::SimpleAction> action__refresh,
action__tab_close_active,
@ -81,6 +84,8 @@ namespace app::browser::main
const int & PAGE_NUMBER
);
void shutdown();
// Getters
Glib::ustring get_page_title(
const int & PAGE_NUMBER