Numworks Epsilon  1.4.1
Graphing Calculator Operating System
language_controller.h
Go to the documentation of this file.
1 #ifndef SHARED_LANGUAGE_CONTROLLER_H
2 #define SHARED_LANGUAGE_CONTROLLER_H
3 
4 #include <escher.h>
5 #include "../i18n.h"
6 
7 namespace Shared {
8 
10 public:
12  void resetSelection();
13 
14  View * view() override;
15  const char * title() override;
16  void didBecomeFirstResponder() override;
17  void viewWillAppear() override;
18  bool handleEvent(Ion::Events::Event event) override;
19 
20  int numberOfRows() override;
21  KDCoordinate cellHeight() override;
22  HighlightCell * reusableCell(int index) override;
23  int reusableCellCount() override;
24 
25  void willDisplayCellForIndex(HighlightCell * cell, int index) override;
26 private:
27  SelectableTableView m_selectableTableView;
28  MessageTableCell m_cells[I18n::NumberOfLanguages];
29 };
30 
31 }
32 
33 #endif
int16_t KDCoordinate
Definition: coordinate.h:6
Responder * parentResponder() const
Definition: responder.cpp:12
HighlightCell * reusableCell(int index) override
LanguageController(Responder *parentResponder, KDCoordinate topMargin)
void willDisplayCellForIndex(HighlightCell *cell, int index) override
const char * title() override
Definition: view.h:23
bool handleEvent(Ion::Events::Event event) override
KDCoordinate cellHeight() override