From 16d096e3382bddead522d0f7e872497f6b30a5b6 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 6 Sep 2024 05:37:25 +0300 Subject: [PATCH] reorder methods --- .../main/tab/page/navigation/request.cpp | 53 +++++++++---------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/src/app/browser/main/tab/page/navigation/request.cpp b/src/app/browser/main/tab/page/navigation/request.cpp index 483d607d..bc8b9817 100644 --- a/src/app/browser/main/tab/page/navigation/request.cpp +++ b/src/app/browser/main/tab/page/navigation/request.cpp @@ -86,33 +86,6 @@ void Request::refresh( ); } -// Getters -Glib::ustring Request::get_scheme() -{ - return scheme; -} - -Glib::ustring Request::get_host() -{ - return host; -} - -Glib::ustring Request::get_port() -{ - return port; -} - -Glib::ustring Request::get_path() -{ - return path; -} - -Glib::ustring Request::get_query() -{ - return path; -} - -// Private helpers void Request::parse() { auto match = Glib::Regex::split_simple( @@ -141,4 +114,30 @@ void Request::parse() index++; } +} + +// Getters +Glib::ustring Request::get_scheme() +{ + return scheme; +} + +Glib::ustring Request::get_host() +{ + return host; +} + +Glib::ustring Request::get_port() +{ + return port; +} + +Glib::ustring Request::get_path() +{ + return path; +} + +Glib::ustring Request::get_query() +{ + return path; } \ No newline at end of file