aboutsummaryrefslogtreecommitdiff
path: root/include/Tab.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Tab.hpp')
-rw-r--r--include/Tab.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/Tab.hpp b/include/Tab.hpp
new file mode 100644
index 0000000..ccb8c85
--- /dev/null
+++ b/include/Tab.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <memory>
+
+namespace QuickMedia {
+ class Body;
+ class Page;
+ class SearchBar;
+
+ struct Tab {
+ std::unique_ptr<Body> body;
+ std::unique_ptr<Page> page; // Only null when current page has |is_single_page()| set to true
+ std::unique_ptr<SearchBar> search_bar; // Nullable
+ };
+} \ No newline at end of file