mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
rename tab elements namespace
This commit is contained in:
parent
4e733d8997
commit
2986a475c1
29 changed files with 181 additions and 181 deletions
39
src/app/browser/main/tab/page/navbar/request.hpp
Normal file
39
src/app/browser/main/tab/page/navbar/request.hpp
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#ifndef APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_REQUEST_HPP
|
||||
#define APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_REQUEST_HPP
|
||||
|
||||
#include <glibmm/i18n.h>
|
||||
#include <gtkmm/entry.h>
|
||||
|
||||
#include <regex>
|
||||
#include <string>
|
||||
|
||||
namespace app::browser::main::tab::page::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_PAGE_NAVBAR_REQUEST_HPP
|
||||
Loading…
Add table
Add a link
Reference in a new issue