EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #100 background imageLoading...
Page #100 background image
58
Chapter 7: Flash Application Layout
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
static const OO_Hdr TargetStrings =
{
OO_SYSTEM_FRAME,
(pFrame)&TargetAppFrame,
OO_RO | OO_SEQ,
OO_FIRST_STRING + OO_FIRST_APP_STRING,
174 // <------------------------------ number of strings
};
static char * const targetstrings[] =
{
"first string", // <---------------- local translation of strings
"second string",
/* etc. */
};
/* Keep track of when this localizer is hooked into the Target app */
pFrame hook = 0;
/**********************************************************************
This app's event handler needs to unhook itself from the target app
when it is deleted or moved. It can reconnect to the Target app when
it has been reinstalled or has completed its move.
**********************************************************************/
void main(pFrame self, PEvent e)
{
switch (e->command)
{
case CM_UNINSTALL:
case CM_PACK:
unlocalize(self);
break;
case CM_INSTALL:
case CM_UNPACK:
localize(self, XR_stringPtr(XR_NativeLanguage));
break;
}
}
/**********************************************************************
This routine observes all events sent to Target app. It localizes the
Target after the app UNPACKs and unlocalizes the Target just before it
PACKs or UNINSTALLs.
**********************************************************************/
void observer(pFrame self, PEvent e)
{
Access_AMS_Global_Variables;
pFrame super = OO_SuperFrame;
switch (e->command)
{

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals