29 lines
632 B
C
29 lines
632 B
C
#ifndef _AI_CHAT_UI_H_
|
||
#define _AI_CHAT_UI_H_
|
||
|
||
#ifdef __cplusplus
|
||
extern "C" {
|
||
#endif
|
||
|
||
// 创建并加载 AI 对话屏幕
|
||
void ai_chat_screen_init(void);
|
||
|
||
// 更新状态文本(如 "Listening...", "Speaking...")
|
||
void ai_chat_set_status(const char* status);
|
||
|
||
// 更新情绪指示(改变指示圆点颜色)
|
||
void ai_chat_set_emotion(const char* emotion);
|
||
|
||
// 更新聊天消息(预留接口)
|
||
void ai_chat_set_chat_message(const char* role, const char* content);
|
||
|
||
// 恢复 GIF 动画播放(开机音频播放完成后调用)
|
||
void ai_chat_resume_animation(void);
|
||
|
||
|
||
#ifdef __cplusplus
|
||
}
|
||
#endif
|
||
|
||
#endif // _AI_CHAT_UI_H_
|