📄 test4lg686.h
字号:
/*===============================================================================
INCLUDES AND VARIABLE DEFINITIONS
=============================================================================== */
#include "AEEModGen.h" // Module interface definitions
#include "AEEAppGen.h" // Applet interface definitions
#include "AEEShell.h" // Shell interface definitions
#include "AEEDisp.h" // AEE Display Services
#include "AEEFile.h" // File interface definitions
#include "AEESound.h" // Sound Interface definitions
#include "AEEMenu.h"
#include "AEERinger.h"
#include "AEEStdLib.h" // AEE StdLib Services
#include "test4lg686.bid"
//#include "test4lg686_res.h"
#define RES_FILE "test4lg686.bar"
//
typedef struct _CTheApp
{
AEEApplet a;
uint16 cxScreen; //save physical screen size
uint16 cyScreen;
uint16 nNormalFontHeight;//save font height
uint16 nBoldFontHeight;
IMenuCtl* pIMenuCtl;
IMenuCtl* pPopMenu;
IRingerMgr* pIRingerMgr;
IFile* pIFile;
IFileMgr* pIFileMgr;
IMemAStream *pIMemStream;
byte* pBuf;
}CTheApp;
/*-------------------------------------------------------------------
Function Prototypes
-------------------------------------------------------------------*/
static boolean test4lg686_HandleEvent(IApplet * pi, AEEEvent eCode,
uint16 wParam, uint32 dwParam);
static boolean test4lg686_InitAppData(CTheApp* pi);
static boolean OnAppStart(CTheApp* pApp,AEEEvent eCode,uint16 wParam,uint32 dwParam);
static void test4lg686_FreeAppData(CTheApp* pi);
static boolean OnComand(CTheApp *pApp,AEEEvent eCode,uint16 wParam,uint32 dwParam);
void BuildMainMenu(CTheApp* pApp);
void ClearInterface(CTheApp* pApp);
void PlayRingerFile(CTheApp* pApp,const char *filename);
void PlayStream(CTheApp* pApp,const char *filename);
void CreateRinger(CTheApp* pApp,const char *filename,AEESoundPlayerFile format);
AEERingerID GetRingerId(CTheApp *pApp,AECHAR* rngName);
void SetRinger(CTheApp* pApp,const char *filename,AEESoundPlayerFile format);
void EnumRinger(CTheApp* pApp);
void ShowMSG(CTheApp* pApp,const char* pszStr);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -