/*================================
FILE: $#$CELL C2$#$.c
=================================*/
#define _$#$CELL K2$#$_C
#include "$#$CELL C2$#$.h"
/*==================================*/
// 関数名:$#$CELL C2$#$_HandleEvent //
// 内容 :イベント処理 //
/*==================================*/
boolean $#$CELL C2$#$_HandleEvent($#$CELL B2$#$* poya, AEEEvent eCode,
uint16 wParam, uint32 dwParam)
{
switch (eCode)
{
// App is told it is starting up
case EVT_APP_START:
// Add your code here...
return(TRUE);
// App is told it is exiting
case EVT_APP_STOP:
// Add your code here...
return(TRUE);
// App is being suspended
case EVT_APP_SUSPEND:
// Add your code here...
return(TRUE);
// App is being resumed
case EVT_APP_RESUME:
// Add your code here...
return(TRUE);
// An SMS message has arrived for this app.
// Message is in the dwParam above as (char *)
// sender simply uses this format "//BREW:ClassId:Message",
// example //BREW:0x00000001:Hello World
case EVT_APP_MESSAGE:
// Add your code here...
return(TRUE);
// A key was pressed. Look at the wParam above
// to see which key was pressed. The key
// codes are in AEEVCodes.h.
// Example "AVK_1" means that the "1" key was pressed.
case EVT_KEY:
// Add your code here...
return(TRUE);
// If nothing fits up to this point then we'll just break out
default:
break;
}
return FALSE;
}
/*==================================*/
//関数名:$#$CELL C2$#$_InitAppData //
//内容 :領域確保・描画 //
/*==================================*/
boolean $#$CELL C2$#$_InitAppData($#$CELL B2$#$* poya)
{
poya->gno = -1;
return TRUE;
}
/*==================================*/
//関数名:$#$CELL C2$#$_FreeAppData //
//内容 :領域のフリー //
/*==================================*/
void $#$CELL C2$#$_FreeAppData($#$CELL B2$#$* poya)
{
}
|