#ifndef APP_ACTION_H #define APP_ACTION_H #include "app_config.h" #include "system/app_core.h" #include "system/task.h" #include "common/user_msg.h" #if (TCFG_TONE2TWS_ENABLE) #include "bt_tws.h" #endif #define ACTION_APP_MAIN 0x0001 #define APP_NAME_POWERON "poweron" #define APP_NAME_POWEROFF "poweroff" #define APP_NAME_BT "bt" #define APP_NAME_MUSIC "music" #define APP_NAME_FM "fm" #define APP_NAME_RECORD "record" #define APP_NAME_LINEIN "linein" #define APP_NAME_RTC "rtc" #define APP_NAME_PC "pc" #define APP_NAME_SPDIF "spdif" #define APP_NAME_IDLE "idle" #define APP_NAME_BOX "box" extern struct application app_begin[]; extern struct application app_end[]; #define list_for_each_app(p) \ for (p=app_begin; p