mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
use native glib::uri parser
This commit is contained in:
parent
3545d23f3f
commit
e8e46a6217
7 changed files with 72 additions and 126 deletions
|
|
@ -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();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue