Blame view

build3/apps/hardware_test/app.h 705 Bytes
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
  #ifndef HARDWARE_TEST_APP_H
  #define HARDWARE_TEST_APP_H
  
  #include <escher.h>
  #include "usb_test_controller.h"
  #include "keyboard_test_controller.h"
  
  class AppsContainer;
  
  namespace HardwareTest {
  
  class App : public ::App {
  public:
    class Snapshot : public ::App::Snapshot {
    public:
      App * unpack(Container * container) override;
      Descriptor * descriptor() override;
    };
    ViewController * USBController();
    int numberOfTimers() override;
    Timer * timerAtIndex(int i) override;
    bool processEvent(Ion::Events::Event e) override;
  private:
    App(Container * container, Snapshot * snapshot);
    KeyboardTestController m_keyboardController;
    USBTestController m_USBTestController;
  };
  
  }
  
  #endif