Applet Locator Callback Structure
If you are asynchronously retrieving HTML information when creating an applet locator, you must pass a data structure that supplies a callback function. This data structure is defined by the JMAppletLocatorCallbacks data type.
struct JMAppletLocatorCallbacks {
UInt32 fVersion; /* set to kJMVersion */
JMFetchCompleted fCompleted;/* text has been retrieved */
};
Field Description
fVersion
- The version of JManager. You should set this field to
kJMVersion.
- fCompleted
- A pointer to a function that should execute once the HTML data has been successfully retrieved and parsed. The callback function has the following type definition:
typedef void (*JMFetchCompleted) (
JMAppletLocatorRef ref, JMLocatorErrors status);
-
- For more information, see the description of the application-defined function
MyFetchCompleted (page 68).