_UnihanIM Struct Reference

#include <unihan_im.h>


Data Fields

void * privateData
char * id
 the input method ID
char * module_id
 the input module ID
char * host_name
char * user_name
void * imUserData
void * desktopUserData
void * sessionUserData
UnihanMethodsm
 methods Unihan provides that input methods can call


Field Documentation

void* _UnihanIM::privateData

char* _UnihanIM::id

the input method ID

char* _UnihanIM::module_id

the input module ID

char* _UnihanIM::host_name

char* _UnihanIM::user_name

void* _UnihanIM::imUserData

These are the private data pointers, which allows input methods to store data needed for operation. Because each input module in Unihan may be used by more than one program and more than one user at anytime, input modules must not use global and/or static variables to store information; instead these pointers must be used. Which pointer to use depends on the lifecycle of the data.

imUserData is available for use from when unihan_im_module_get_info() is called. You can think of this data as system-wide.

void* _UnihanIM::desktopUserData

These are the private data pointers, which allows input methods to store data needed for operation. Because each input module in Unihan may be used by more than one program and more than one user at anytime, input modules must not use global and/or static variables to store information; instead these pointers must be used. Which pointer to use depends on the lifecycle of the data.

desktopUserData is per-desktop data available from when init() is called, until done() is called. You can think of this data as user-wide.

void* _UnihanIM::sessionUserData

These are the private data pointers, which allows input methods to store data needed for operation. Because each input module in Unihan may be used by more than one program and more than one user at anytime, input modules must not use global and/or static variables to store information; instead these pointers must be used. Which pointer to use depends on the lifecycle of the data.

sessionUserData is per-session data available from when create_session() is called, until destroy_session() is called.

UnihanMethods* _UnihanIM::m

methods Unihan provides that input methods can call


The documentation for this struct was generated from the following file:
Generated on Fri Sep 7 15:51:41 2007 for unihan-core-le by  doxygen 1.5.2