#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 |
| UnihanMethods * | m |
| methods Unihan provides that input methods can call | |
| 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.
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.
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.
methods Unihan provides that input methods can call
1.5.2