use native glib::uri parser

This commit is contained in:
yggverse 2024-09-14 14:07:18 +03:00
parent 3545d23f3f
commit e8e46a6217
7 changed files with 72 additions and 126 deletions

View file

@ -66,20 +66,11 @@ namespace app::browser::main::tab::page::navigation
// Extras
double progress_fraction;
Glib::ustring scheme,
host,
port,
path,
query;
// Defaults
const bool HEXPAND = true;
const double PROGRESS_PULSE_STEP = .1;
const int PROGRESS_ANIMATION_TIME = 10;
// Private helpers
void parse();
/*
* Class API
*/
@ -103,13 +94,6 @@ namespace app::browser::main::tab::page::navigation
int save(
const sqlite3_int64 & APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION__SESSION__ID
);
// Getters
Glib::ustring get_scheme();
Glib::ustring get_host();
Glib::ustring get_port();
Glib::ustring get_path();
Glib::ustring get_query();
};
}