restore previous tab session on browser launch

This commit is contained in:
yggverse 2024-09-09 11:08:00 +03:00
parent 9b13d3f270
commit eaa4b78dbd
3 changed files with 53 additions and 3 deletions

View file

@ -21,6 +21,16 @@ namespace app::browser::main
// Database
sqlite3 * db;
struct DB
{
enum APP_BROWSER_MAIN_TAB
{
ID,
TIME,
REQUEST,
};
};
// Actions
Glib::RefPtr<Gio::SimpleAction> action__refresh,
action__tab_close_active,
@ -60,6 +70,7 @@ namespace app::browser::main
);
void append(
const unsigned char * REQUEST,
const bool & FOCUS
);