Chapter 7: Flash Application Layout
41
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
0x0004 APP_ACCESS_SYSVARS
Application can store to column variables of the data
matrix editor without causing a protected variable error
message.
0x0008 APP_BACKGROUND
Application wants CM_BACKGROUND events. This
allows applications, including noninteractive
applications, to get execution time even when the
application is not active.
The remaining flags are reserved and should be zero.
7.3.1.3.2. Attribute OO_APP_NAME (0x2)
UCHAR * GetAppName(AppID)
Pointer to the application’s name. This name is displayed in the app’s pop-up
menu if the application has an interactive interface. The length of the name
should be no more than 20 characters on the TI
-
89 and no more than 32
characters on the TI
-
92 Plus.
7.3.1.3.3. Attribute OO_APP_TOK_NAME (0x3)
UCHAR * GetAppTokName(AppID)
Pointer to application token name (
≤
8 characters). This is the name TI
-
BASIC
programs use to refer to functions and programs exported from the application.
For example, if application “Linear Algebra” has a token name of linalg and
exports its own implementation of the sin function, TI
-
BASIC programs can call
linalg.sin( . . . ) which will not be confused with the built-in sin function.
This attribute is optional. If your application defines no TI
-
BASIC extension
functions or programs, this attribute is unnecessary.
7.3.1.3.4. Method OO_APP_PROCESS_EVENT (0x4)
void AppProcessEvent(pFrame self, Event * event)
Pointer to the application’s event handler routine. The OS sends event messages
to the application by calling its event handler.
This method is optional. If the application is a library with no user interface, then
it can ignore event messages.
If the application needs to respond to any events, then this method must be
implemented. A library application may need to know, for example, when it is
being installed (CM_INSTALL), moved (CM_PACK/CM_UNPACK), or deleted
(CM_UNINSTALL).