/* {{RESOURCE BLOCK}} -- DO NOT ERASE -- */
/* {{END RESOURCE BLOCK}} -- DO NOT ERASE -- */
/********************************************************************
* Code for BaselineProcessClass
*******************************************************************/
/********************************************************************
* MSG_GEN_PROCESS_OPEN_APPLICATION
********************************************************************
* SYNOPSIS: Here is where we can intercept the starting of our
* GEOS application. It is a handy place to initialize
* any global variables and set up various user interface
* components.
* CALLED BY: GEOS Kernel
* PARAMETERS: AppAttachFlags attachFlags
* MemHandle launchBlock
* MemHandle extraState
* RETURNS: void
* SIDE EFFECTS: none
* STRATEGY: In this baseline application there is nothing to do,
* so we just call @callsuper to execute the standard
* behavior.
* REVISION HISTORY:
* Name Date Description
* ---- ---- -----------
*
*******************************************************************/
@method $SHORT NAME$ProcessClass, MSG_GEN_PROCESS_OPEN_APPLICATION
{
@callsuper();
@call $SHORT NAME$App::MSG_GEN_APPLICATION_INSTALL_TOKEN();
} /* MSG_GEN_PROCESS_OPEN_APPLICATION */
/********************************************************************
* MSG_GEN_PROCESS_CLOSE_APPLICATION
********************************************************************
* SYNOPSIS: Here is where we can intercept the ending of our
* GEOS application. It is a handy place to free resorces
* allocated by the application or to close files.
* CALLED BY: GEOS Kernel
* PARAMETERS: void
* RETURNS: MemHandle
* SIDE EFFECTS: none
* STRATEGY: In this baseline application there is nothing to do,
* so we just call @callsuper to execute the standard
* behavior.
* REVISION HISTORY:
* Name Date Description
* ---- ---- -----------
*
*******************************************************************/
@method $SHORT NAME$ProcessClass, MSG_GEN_PROCESS_CLOSE_APPLICATION
{
@callsuper ();
return(NullHandle);
} /* MSG_GEN_PROCESS_CLOSE_APPLICATION */
//Each graphic form will have a custom method generated along with a
//MSG_META_EXPOSED for redrawing the window
/* {{CUSTOM GRAPHICS STATE METHOD}} -- DO NOT ERASE -- */
@method $SHORT NAME$VisContentClass, MSG_VIS_DRAW
{
@callsuper();
if ( oself == @$SHORT NAME$ViewContent )
$SHORT NAME$ViewDraw( gstate );