#ifndef APP_BROWSER_MAIN_TAB_PAGE_HPP #define APP_BROWSER_MAIN_TAB_PAGE_HPP #include #include #include #include #include #include #include #include #include #include #include #include namespace app::browser::main::tab { namespace page { class Content; class Navbar; class Progressbar; } class Page : public Gtk::Box { char buffer[0xfffff]; // 1Mb Glib::ustring title; Glib::ustring subtitle; Glib::RefPtr GioSocketClient_RefPtr; Glib::RefPtr GioSocketConnection_RefPtr; page::Content * pageContent; page::Navbar * pageNavbar; page::Progressbar * pageProgressbar; public: Page( const Glib::ustring & TITLE, const Glib::ustring & SUBTITLE = "", const Glib::ustring & REQUEST = "" ); ~Page(); // Getters Glib::ustring get_title(); // Actions void update(); }; } #endif // APP_BROWSER_MAIN_TAB_PAGE_HPP