Numworks Epsilon  1.4.1
Graphing Calculator Operating System
tab_table_controller.h
Go to the documentation of this file.
1 #ifndef SHARED_TAB_TABLE_CONTROLLER_H
2 #define SHARED_TAB_TABLE_CONTROLLER_H
3 
4 #include <escher.h>
5 
6 namespace Shared {
7 
8 /* Tab table controller is a controller whose view is a selectable table view
9  * and whose one ancestor is a tab */
10 
12 public:
14  void didBecomeFirstResponder() override;
15  void viewWillAppear() override;
16  void willExitResponderChain(Responder * nextFirstResponder) override;
17 protected:
19  virtual View * loadView() override;
20  void unloadView(View * view) override;
21  virtual Responder * tabController() const = 0;
22 private:
23  TableViewDataSource * m_dataSource;
24 };
25 
26 }
27 
28 #endif
29 
Responder * parentResponder() const
Definition: responder.cpp:12
TabTableController(Responder *parentResponder, TableViewDataSource *dataSource)
void willExitResponderChain(Responder *nextFirstResponder) override
void unloadView(View *view) override
virtual View * loadView() override
Definition: view.h:23
SelectableTableView * selectableTableView()
virtual Responder * tabController() const =0