Blame view

Modif/epsilon-master/apps/usb/app.h 629 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
  #ifndef USB_APP_H
  #define USB_APP_H
  
  #include "escher/include/escher/app.h"
  #include "usb_connected_controller.h"
  
  namespace USB {
  
  class App : public ::App {
  public:
    class Descriptor : public ::App::Descriptor {
    public:
      I18n::Message name() override;
      I18n::Message upperName() override;
    };
    class Snapshot : public ::App::Snapshot {
    public:
      App * unpack(Container * container) override;
      Descriptor * descriptor() override;
    };
    bool processEvent(Ion::Events::Event) override;
  private:
    App(Container * container, Snapshot * snapshot);
    USBConnectedController m_usbConnectedController;
  };
  
  }
  
  #endif