Yoda/src/app/browser/header.hpp

34 lines
604 B
C++
Raw Normal View History

2024-08-12 21:35:52 +03:00
#ifndef APP_BROWSER_HEADER_HPP
#define APP_BROWSER_HEADER_HPP
2024-08-20 15:25:31 +03:00
#include <glibmm/ustring.h>
#include <gtkmm/headerbar.h>
namespace app::browser
{
2024-08-12 09:45:22 +03:00
namespace header
{
2024-08-20 14:38:13 +03:00
class Main;
2024-08-12 09:45:22 +03:00
class Menu;
class Tab;
}
class Header : public Gtk::HeaderBar
{
2024-08-20 14:38:13 +03:00
app::browser::header::Main * main;
2024-08-17 00:50:24 +03:00
app::browser::header::Menu * menu;
app::browser::header::Tab * tab;
2024-08-12 09:45:22 +03:00
public:
Header();
2024-08-12 09:45:22 +03:00
~Header();
2024-08-20 15:25:31 +03:00
void set_title(
const Glib::ustring text
);
};
}
2024-08-12 21:35:52 +03:00
#endif // APP_BROWSER_HEADER_HPP