aboutsummaryrefslogtreecommitdiff
path: root/include/Tab.hpp
blob: ccb8c85c50f5c90d06c36f3f6c1b85200f12ce89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
    };
}