/* * Copyright 2014 (c) Anna Schumaker. */ #include #include class HistoryTab : public Tab { public: HistoryTab(); ~HistoryTab(); }; HistoryTab :: HistoryTab() : Tab(deck :: get_queue()) { tab_search = get_widget("o_history_entry"); tab_size = get_widget("o_history_size"); tab_treeview = get_widget("o_history_treeview"); tab_widget = get_widget("o_history_page"); tab_finish_init(); } HistoryTab :: ~HistoryTab() { tab_unmap(); } static HistoryTab *history_tab; void init_history_tab() { history_tab = new HistoryTab; }