2010-09-29 17:29:43 +08:00
|
|
|
|
// Application main file.
|
|
|
|
|
|
|
|
|
|
// Original file name: TestAudioEngineEntry.cpp
|
|
|
|
|
// Generated by TOPS Builder:Project wizard,Date:2010-9-29
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "TestAudioEngineEntry.h"
|
|
|
|
|
#include "TestAudioEngineApp.h"
|
|
|
|
|
#include "testaudioengine_res_c.h"
|
|
|
|
|
|
|
|
|
|
const ResourceRegisterEntry ResRegList_TestAudioEngine[] =
|
|
|
|
|
{
|
|
|
|
|
TG_RESOURCE_DEFINE
|
|
|
|
|
};
|
|
|
|
|
|
2010-11-12 11:51:17 +08:00
|
|
|
|
extern const AppResourceEntry TestAudioEngineResourceEntry =
|
2010-09-29 17:29:43 +08:00
|
|
|
|
{
|
|
|
|
|
(ResourceRegisterEntry*)ResRegList_TestAudioEngine, // res list in this app
|
|
|
|
|
sizeof(ResRegList_TestAudioEngine) / sizeof(ResourceRegisterEntry), //number of item in res
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Int32 TG3AppMain(const TUChar * pAppID, UInt32 nCmd, void * pCmdParam)
|
|
|
|
|
{
|
|
|
|
|
switch(nCmd)
|
|
|
|
|
{
|
|
|
|
|
case 0: // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
{
|
|
|
|
|
// UIӦ<49>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD>
|
|
|
|
|
TTestAudioEngineApp * pApp= new TTestAudioEngineApp();
|
|
|
|
|
pApp->WM_SetResourceEntry(&TestAudioEngineResourceEntry);
|
|
|
|
|
pApp->Run();
|
|
|
|
|
|
|
|
|
|
delete pApp;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|