Blame view

build1/epsilon-master/apps/regression/store_parameter_controller.h 1.11 KB
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  #ifndef REGRESSION_STORE_PARAMETER_CONTROLLER_H
  #define REGRESSION_STORE_PARAMETER_CONTROLLER_H
  
  #include "regression_controller.h"
  #include "store.h"
  #include "../shared/store_parameter_controller.h"
  
  namespace Regression {
  
  class StoreController;
  
  class StoreParameterController : public Shared::StoreParameterController {
  public:
    StoreParameterController(Responder * parentResponder, Store * store, StoreController * storeController);
    bool handleEvent(Ion::Events::Event event) override;
    void viewWillAppear() override;
    void didBecomeFirstResponder() override;
    // ListViewDataSource
    int numberOfRows() override { return Shared::StoreParameterController::numberOfRows() + 1; }
    KDCoordinate rowHeight(int j) override;
    HighlightCell * reusableCell(int index, int type) override;
    int reusableCellCount(int type) override;
    int typeAtLocation(int i, int j) override;
    void willDisplayCellForIndex(HighlightCell * cell, int index) override;
  private:
    static constexpr int k_regressionCellType = 1;
    MessageTableCellWithChevronAndExpression m_changeRegressionCell;
    bool m_lastSelectionIsRegression;
  };
  
  }
  
  #endif