#ifndef APP_BROWSER_MAIN_HPP #define APP_BROWSER_MAIN_HPP #include #include #include #include namespace app::browser { namespace main { class Tab; } class Main : public Gtk::Box { // Components main::Tab * mainTab; // Defaults const bool HOMOGENEOUS = true; public: Main(); // Actions void refresh(); void tab_append(); void tab_close_all(); void tab_close_left(); void tab_close_right(); void tab_close(); void tab_page_navigation_update(); void tab_page_navigation_history_back(); void tab_page_navigation_history_forward(); // Getters Glib::ustring get_current_tab_page_title(); Glib::ustring get_current_tab_page_subtitle(); }; } #endif // APP_BROWSER_MAIN_HPP