You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
369 B

11 months ago
  1. #pragma once
  2. #include <stdint.h>
  3. #include <functional>
  4. namespace iflytop {
  5. using namespace std;
  6. typedef enum {
  7. kPumpStart,
  8. kPumpStop,
  9. kAppEvent_RemoterControlerConnected,
  10. kAppEvent_RemoterControlerDisConnected,
  11. } AppEventType_t;
  12. typedef struct {
  13. AppEventType_t type;
  14. union event {
  15. uint32_t placeholder;
  16. } d;
  17. } AppEvent_t;
  18. } // namespace iflytop