Yoda/src/app/browser/main/tab/page.hpp

47 lines
1.0 KiB
C++
Raw Normal View History

2024-08-15 18:52:11 +03:00
#ifndef APP_BROWSER_MAIN_TAB_PAGE_HPP
#define APP_BROWSER_MAIN_TAB_PAGE_HPP
2024-08-13 08:07:56 +03:00
#include <giomm/asyncresult.h>
#include <giomm/inputstream.h>
#include <giomm/outputstream.h>
2024-08-14 07:56:34 +03:00
#include <giomm/simpleactiongroup.h>
#include <giomm/socketclient.h>
#include <giomm/socketconnection.h>
2024-08-18 15:32:31 +03:00
#include <glibmm/i18n.h>
2024-08-14 11:30:05 +03:00
#include <glibmm/refptr.h>
2024-08-18 15:19:36 +03:00
#include <glibmm/regex.h>
#include <glibmm/stringutils.h>
2024-08-17 12:45:43 +03:00
#include <glibmm/ustring.h>
2024-08-14 11:30:05 +03:00
#include <gtkmm/box.h>
2024-08-13 08:07:56 +03:00
namespace app::browser::main::tab
{
2024-08-15 18:52:11 +03:00
namespace page
2024-08-13 08:48:17 +03:00
{
2024-08-14 11:30:05 +03:00
class Content;
2024-08-18 23:46:27 +03:00
class Navbar;
class Progressbar;
2024-08-13 08:48:17 +03:00
}
2024-08-15 18:52:11 +03:00
class Page : public Gtk::Box
2024-08-13 08:07:56 +03:00
{
2024-08-17 00:50:24 +03:00
char buffer[0xfffff];
2024-08-13 08:48:17 +03:00
2024-08-17 00:50:24 +03:00
Glib::RefPtr<Gio::SimpleActionGroup> action_group;
Glib::RefPtr<Gio::SocketClient> socket_client;
Glib::RefPtr<Gio::SocketConnection> socket_connection;
2024-08-17 00:50:24 +03:00
page::Content * content;
2024-08-18 23:46:27 +03:00
page::Navbar * navbar;
page::Progressbar * progressbar;
2024-08-13 08:48:17 +03:00
2024-08-13 08:07:56 +03:00
public:
2024-08-15 18:52:11 +03:00
Page();
~Page();
2024-08-14 07:56:34 +03:00
void update();
2024-08-13 08:07:56 +03:00
};
}
2024-08-15 18:52:11 +03:00
#endif // APP_BROWSER_MAIN_TAB_PAGE_HPP