EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

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 #99 background imageLoading...
Page #99 background image
Chapter 7: Flash Application Layout
57
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
/**********************************************************************
Set MY_APP_NAME to the name this localizer app should have in the
VAR-LINK [F7:APPS] screen.
**********************************************************************/
#define MY_APP_NAME “French Demo Localizer”
void main(pFrame self, PEvent e);
void observer(pFrame self, PEvent e);
BOOL localize(pFrame, char *lang);
void unlocalize(pFrame);
void noticeInstall(pFrame, ACB const *);
BOOL candelete(pFrame self);
static
FRAME(LocalizerFrame, OO_SYSTEM_FRAME, 0, OO_APP_FLAGS, 7)
/* This app does not appear on the [APPS] menu */
ATTR(OO_APP_FLAGS, APP_NONE)
ATTR(OO_APP_NAME, MY_APP_NAME)
/* It needs to respond to some events */
ATTR(OO_APP_PROCESS_EVENT, &main)
/* Export methods used in localization */
ATTR(OO_APP_LOCALIZE, &localize)
ATTR(OO_APP_UNLOCALIZE, &unlocalize)
ATTR(OO_APP_CAN_DELETE, &candelete)
ATTR(OO_APP_NOTICE_INSTALL, &noticeInstall)
ENDFRAME
pFrame appframe = (pFrame)&LocalizerFrame;
/* This little FRAME is hooked ahead of the Target app's frame. It
accomplishes a couple of things:
1) It renames the Target app on the [APPS] menu, and
2) It redirects its event handler to this app so we can observe its
pack/unpack and uninstall messages. All events are forwarded to
their rightful owner.
*/
static
FRAME(TargetAppFrame, OO_SYSTEM_FRAME, NULL, OO_APP_NAME, 2)
/* Override the Target app's name in the [APPS] menu */
ATTR(OO_APP_NAME, APPSname)
/* Redirect Target app's events to me */
ATTR(OO_APP_PROCESS_EVENT, &observer)
ENDFRAME
/* Place the translated strings here. Keep the following OO_Hdr structure
and target strings array together. The OO_Hdr structure is an object
frame header for the following array of string attributes.
*/

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