app_guiobj_mainmenupop.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /********************************************************************
  2. ** File Name: app_guiobj_mainmenupop.h
  3. **
  4. ** File Description: The header file of mainmenu Popmsg state machine
  5. **
  6. ** Copyright(c) 2016 RDA - All Rights Reserved
  7. **
  8. ** History Information Description
  9. ** Date Author Modification
  10. ** 2016/04/15 shitingliao Create
  11. **
  12. ********************************************************************/
  13. #ifndef __APP_GUIOBJ_MAINMENUPOP_H__
  14. #define __APP_GUIOBJ_MAINMENUPOP_H__
  15. /********************************************************************
  16. Including Files
  17. ********************************************************************/
  18. #include "gobj_datastruct.h"
  19. #include "customize.h"
  20. /********************************************************************
  21. Macros
  22. ********************************************************************/
  23. typedef enum
  24. {
  25. MAINPOPMSG_COMFIRM_RESET = 0,
  26. #ifdef CONFIG_SUPPORT_USB_UPGRADE
  27. MAINPOPMSG_COMFIRM_UPGRADE,
  28. #endif
  29. #ifdef CONFIG_SUPPORT_NET_OTA
  30. MAINPOPMSG_COMFIRM_NET_OTA,
  31. MAINPOPMSG_FTP_FILE_CHECK_WAITING,
  32. MAINPOPMSG_FTP_FILE_CHECK_FAIL,
  33. MAINPOPMSG_FTP_FILE_DOWNLOAD_WAITING,
  34. MAINPOPMSG_FTP_WITHOUT_NEW_VERSION,
  35. MAINPOPMSG_FTP_FILE_DOWNLOAD_FAIL,
  36. #endif
  37. MAINPOPMSG_SHOW_RESETTING,
  38. MAINPOPMSG_SHOW_UPGRADE_STOP_PLAYER,
  39. #ifdef SUPPORT_POWERAGAIN_CONFIRM_POWEROFF
  40. MAINPOPMSG_SHOW_CONFIRM_POWER,
  41. #endif
  42. MAINPOPMSG_MAX,
  43. } MainPopmsgType_t;
  44. INT32 APP_GUIOBJ_MainPopMsg_GetPopType(void);
  45. #endif