1234567891011121314151617181920212223242526272829 |
- #ifndef __HOOK_H_
- #define __HOOK_H_
- #include "pt.h"
- /*
- 用于辅助UI某些需要做等待条件的状态机
- */
- typedef struct{
- unsigned char status;//0空闲 否则忙
- unsigned char type;//需要辅助工作类型
- unsigned char machine;//工作状态机
- }ASSIST_DEF;
- extern ASSIST_DEF uiAssist;
- extern unsigned char assistResult;
- void enableDataSend(void);
- char isSendDataEnable(void);
- void powerSaveHandle(void);
- void onStartCtl(void);
- void SwitchGroupPre(void);
- void SwitchVoicePre(char type);
- void SwitchVoiceCtrl(void);
- void UiassistStart(unsigned char type,unsigned char machine);
- unsigned char getAssistResult(void);
- PT_THREAD (ptUIAssist(struct pt *pt));
- #endif
|