mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
39 lines
No EOL
894 B
C++
39 lines
No EOL
894 B
C++
#ifndef APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_REQUEST_HPP
|
|
#define APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_REQUEST_HPP
|
|
|
|
#include <glibmm/i18n.h>
|
|
#include <glibmm/regex.h>
|
|
#include <glibmm/ustring.h>
|
|
#include <gtkmm/entry.h>
|
|
|
|
namespace app::browser::main::tab::page::navbar
|
|
{
|
|
class Request : public Gtk::Entry
|
|
{
|
|
const bool HEXPAND = true;
|
|
|
|
Glib::ustring scheme,
|
|
host,
|
|
port,
|
|
path,
|
|
query;
|
|
|
|
void parse();
|
|
|
|
public:
|
|
|
|
Request(
|
|
const Glib::ustring & VALUE = ""
|
|
);
|
|
|
|
~Request();
|
|
|
|
Glib::ustring get_scheme();
|
|
Glib::ustring get_host();
|
|
Glib::ustring get_port();
|
|
Glib::ustring get_path();
|
|
Glib::ustring get_query();
|
|
};
|
|
}
|
|
|
|
#endif // APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_REQUEST_HPP
|