mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
implement title detection by content type provider
This commit is contained in:
parent
5e88040bf0
commit
f31dc84fe6
9 changed files with 83 additions and 9 deletions
|
|
@ -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();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue