2024-08-13 08:07:56 +03:00
|
|
|
#ifndef APP_BROWSER_MAIN_TAB_DATA_HPP
|
|
|
|
#define APP_BROWSER_MAIN_TAB_DATA_HPP
|
|
|
|
|
2024-08-14 07:56:34 +03:00
|
|
|
#include <giomm/simpleactiongroup.h>
|
2024-08-14 11:30:05 +03:00
|
|
|
#include <glibmm/refptr.h>
|
|
|
|
#include <gtkmm/box.h>
|
2024-08-14 07:56:34 +03:00
|
|
|
#include <sigc++/functors/mem_fun.h>
|
2024-08-13 08:07:56 +03:00
|
|
|
|
|
|
|
namespace app::browser::main::tab
|
|
|
|
{
|
2024-08-13 08:48:17 +03:00
|
|
|
namespace data
|
|
|
|
{
|
|
|
|
class Navbar;
|
2024-08-14 11:30:05 +03:00
|
|
|
class Content;
|
2024-08-13 08:48:17 +03:00
|
|
|
}
|
|
|
|
|
2024-08-13 08:07:56 +03:00
|
|
|
class Data : public Gtk::Box
|
|
|
|
{
|
2024-08-13 08:48:17 +03:00
|
|
|
private:
|
|
|
|
|
2024-08-14 07:56:34 +03:00
|
|
|
Glib::RefPtr<Gio::SimpleActionGroup> action_group;
|
|
|
|
|
2024-08-13 08:48:17 +03:00
|
|
|
data::Navbar * navbar;
|
2024-08-14 11:30:05 +03:00
|
|
|
data::Content * content;
|
2024-08-13 08:48:17 +03:00
|
|
|
|
2024-08-13 08:07:56 +03:00
|
|
|
public:
|
|
|
|
|
|
|
|
Data();
|
|
|
|
~Data();
|
2024-08-14 07:56:34 +03:00
|
|
|
|
|
|
|
void update();
|
2024-08-13 08:07:56 +03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // APP_BROWSER_MAIN_TAB_DATA_HPP
|