Chapter 7: Flash Application Layout
43
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
7.3.1.3.10. Method OO_APP_LOCALIZE (0xA)
BOOL AppLocalize(AppID self, UCHAR const * language)
Pointer to the application’s language localization routine. The OS calls this
method in each application when the user chooses a new language in the mode
window. This method returns TRUE if it switched the app to the given language.
How to localize an application for another language is covered in detail in section
7.3.4. Language Localization
.
This method is optional.
7.3.1.3.11. Method OO_APP_UNLOCALIZE (0xB)
void AppUnlocalize(AppID self)
Pointer to the application’s routine to remove language localization.
This method is optional but should be implemented if the above
OO_APP_LOCALIZE method is implemented.
7.3.1.3.12. Method OO_APP_CAN_DELETE (0xC)
BOOL AppCanDelete(AppID
self
)
Before the OS deletes an application, it calls this method to ask the application if
it can be deleted. This method returns TRUE if the application can be deleted.
This method is optional. Implement it only if you have special requirements for
when your app can be deleted.
7.3.1.3.13. Method OO_APP_CAN_MOVE (0xD)
BOOL AppCanMove(AppID
self
)
The application returns TRUE if it can be relocated to another address in Flash
memory. The OS uses this method to query applications while it is preparing to
garbage collect Flash memory.
This method is optional. Implement it only if you have special requirements for
when your app can be moved.