mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add page mime type enum
This commit is contained in:
parent
ecfcb1728a
commit
2a7e1e9775
2 changed files with 29 additions and 4 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue