📄 app_infos.c
字号:
/*******************************************************************************
Copyright(c) 1998 - 2006 DaTang Mobile Communications Equipment CO.,LTD.
All Rights Reserved. By using this module you agree to the terms of the
DaTang Mobile Communications Equipment CO.,LTD License Agreement for it.
*******************************************************************************/
/******************************************************************************
* Filename : app_infos.c
*
* Description : define apps infos
*
* Notes : N/A
*
*******************************************************************************/
#include "app_infos.h"
#include "TestAudio_Arena.h"
extern BOOL Local_register(HAPP);
APP_REGISTER app_init_pfn_a[] =
{
Local_register,
};
UINT32 app_init_pfn_size = sizeof(app_init_pfn_a) / sizeof(app_init_pfn_a[0]);
BOOL Local_register(HAPP happ)
{
APP_STATIC_INFO asi;
memset(&asi, 0, sizeof(asi));
asi.app_start_func_ptr = app_Local_start;
asi.app_resume_func_ptr = app_Local_resume;
asi.app_pause_func_ptr = app_Local_pause;
asi.app_stop_func_ptr = app_Local_stop;
asi.id = APP_ID_LOCAL;
strncpy(asi.name, "sdk demo", MAX_APP_NAME_LEN - 1);
asi.name[MAX_APP_NAME_LEN - 1] = '\0';
asi.priority = APP_PRI_NORMAL;
asi.type = TYPE_LOCAL;
app_reg_app_ams(happ, &asi);
app_reg_app_name(happ, "sdk demo");
app_reg_app_entry(happ, app_Local_entry);
return TRUE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -