hand_acid_mainboard
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.

32 lines
493 B

12 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
  1. #pragma once
  2. #include <stdint.h>
  3. #include <functional>
  4. namespace iflytop {
  5. using namespace std;
  6. typedef enum {
  7. kAppEvent_PlaceHolder,
  8. } AppEventType_t;
  9. /**
  10. *
  11. * @brief
  12. *
  13. *
  14. * @ע
  15. * ׶󣬷ջ
  16. */
  17. typedef struct {
  18. AppEventType_t type;
  19. union event {
  20. uint32_t placeholder;
  21. } d;
  22. } AppEvent_t;
  23. static inline AppEvent_t createAppEvent(AppEventType_t type) {
  24. AppEvent_t event;
  25. event.type = type;
  26. return event;
  27. }
  28. } // namespace iflytop