diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-11 21:35:37 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-13 13:13:01 +0200 |
commit | 77ed51898157d99112be7550471ec06e32344c9e (patch) | |
tree | 0645274d0f13b4fa6940d4054f74a070611a8ef0 /include/Tab.hpp | |
parent | da89ec98fb34757f0c46dc8cb2dd87ae78d317ce (diff) |
Refactor plugin into seperate pages
TODO: Readd 4chan login page, manganelo creators page, autocomplete
Diffstat (limited to 'include/Tab.hpp')
-rw-r--r-- | include/Tab.hpp | 15 |
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 |