implement title detection by content type provider

This commit is contained in:
yggverse 2024-09-14 09:33:25 +03:00
parent 5e88040bf0
commit f31dc84fe6
9 changed files with 83 additions and 9 deletions

View file

@ -9,18 +9,32 @@ namespace app::browser::main::tab::page::content
{
class Text : public Gtk::ScrolledWindow
{
/*
* Private members
*/
Glib::ustring title;
public:
/*
* Extra features
*/
enum Type
{
GEMINI,
PLAIN
};
/*
* Text class API
*/
Text(
const Type & TYPE,
const Glib::ustring & TEXT
);
// Getters
Glib::ustring get_title();
};
}