Back to index

im-sdk  12.3.91
input-method.h
Go to the documentation of this file.
00001 #if !defined(IIIMF_INPUT_METHOD_H)
00002 #define IIIMF_INPUT_METHOD_H
00003 
00004 
00005 #include <iiimp-data.h>
00006 
00007 #include "sequence.h"
00008 #include "stream.h"
00009 #include "role-data-client.h"
00010 #include "role-data-server.h"
00011 
00012 
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017 
00018 struct iiimf_im {
00019     int                            im_id;
00020 
00021     union {
00022        IIIMF_role_data_client *    client;
00023        IIIMF_role_data_server *    server;
00024     }                       role_data;
00025 
00026     IIIMP_data_s *          data_s;
00027 
00028     int                            role;
00029     int                            state;
00030     IIIMF_message_pending * message_pending;
00031     int                            message_depth;
00032     int                            message_depth_maximum;
00033 
00034     IIIMF_message_handler_call_func       message_handler_call;
00035     IIIMF_message_handler_entry ** message_handler;
00036 
00037     IIIMF_ic *                     ic_list;
00038 
00039     IIIMF_stream *          stream;
00040 
00041     IIIMP_string *          language_list;
00042 
00043     void *                  client_data;  /* used by application */
00044 };
00045 
00046 
00047 #ifdef __cplusplus
00048 }
00049 #endif
00050 
00051 #endif /* !IIIMF_INPUT_METHOD_H */
00052 
00053 
00054 /* Local Variables: */
00055 /* c-file-style: "iiim-project" */
00056 /* End: */