mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
39 lines
No EOL
793 B
C++
39 lines
No EOL
793 B
C++
#ifndef APP_BROWSER_MAIN_TAB_DATA_NAVBAR_REQUEST_HPP
|
|
#define APP_BROWSER_MAIN_TAB_DATA_NAVBAR_REQUEST_HPP
|
|
|
|
#include <glibmm/i18n.h>
|
|
#include <gtkmm/entry.h>
|
|
|
|
#include <regex>
|
|
#include <string>
|
|
|
|
namespace app::browser::main::tab::data::navbar
|
|
{
|
|
class Request : public Gtk::Entry
|
|
{
|
|
private:
|
|
|
|
std::string scheme,
|
|
host,
|
|
port,
|
|
path,
|
|
query;
|
|
|
|
void parse();
|
|
|
|
public:
|
|
|
|
Request();
|
|
|
|
~Request();
|
|
|
|
std::string get_scheme();
|
|
std::string get_host();
|
|
std::string get_path();
|
|
std::string get_query();
|
|
|
|
int get_port();
|
|
};
|
|
}
|
|
|
|
#endif // APP_BROWSER_MAIN_TAB_DATA_NAVBAR_REQUEST_HPP
|