add page mime type enum

This commit is contained in:
yggverse 2024-09-10 05:12:57 +03:00
parent ecfcb1728a
commit 2a7e1e9775
2 changed files with 29 additions and 4 deletions

View file

@ -26,6 +26,14 @@ namespace app::browser::main::tab
class Page : public Gtk::Box
{
// Extras
enum MIME
{
TEXT_PLAIN,
TEXT_GEMINI,
UNDEFINED
};
MIME mime;
Glib::ustring title;
Glib::ustring subtitle;
@ -63,6 +71,7 @@ namespace app::browser::main::tab
void navigation_history_forward();
// Getters
Page::MIME get_mime();
Glib::ustring get_title();
Glib::ustring get_subtitle();