popup.h 705 B

12345678910111213141516171819202122232425
  1. /*
  2. * popup.h
  3. *
  4. * Created by zoro on 30/8/2022.
  5. */
  6. #ifndef __POPUP_H
  7. #define __POPUP_H
  8. //弹窗配对相关接口
  9. #if GFPS_EN
  10. #include "gfps.h"
  11. #define le_popup_init() gfps_init()
  12. #define le_popup_process() gfps_process()
  13. #define le_popup_evt_notice(a,b) gfps_evt_notice(a,b)
  14. #define le_popup_vhouse_cmd_notice(a) gfps_vhouse_cmd_notice(a)
  15. #define le_popup_need_wakeup() gfps_need_wakeup()
  16. #else
  17. #define le_popup_init()
  18. #define le_popup_process()
  19. #define le_popup_evt_notice(a,b)
  20. #define le_popup_vhouse_cmd_notice(a)
  21. #define le_popup_need_wakeup() 0
  22. #endif
  23. #endif // __POPUP_H