[Uim] Please review Uim Developer's Document

TOKUNAGA Hiroyuki tkng at xem.jp
Thu Jul 8 12:17:25 EEST 2004


On Mon, 28 Jun 2004 16:22:24 +0900
Kazuki Ohta <mover at hct.zaq.ne.jp> wrote:

> Now, I propose these helper API instead of current API.
> The only idea is that all functions use static fd and 
> buffer, and create the function to get the value of static 
> fd to be able to get the value from the user side.
> 
> #in gtk-im-uim.c, fd is stored in static in im_uim_fd. I 
> think this is avoidable.
> 
> /**/
> //This function initialize fd if static client fd.
> void uim_helper_init_client_fd(void (*disconnect_cb)(void));
> 
> //Returns the current value of static fd.
> int uim_helper_get_client_fd(void);
> 
> //Finalizing static fd
> void uim_helper_close_client_fd(void);
> 
> /**/
> void uim_helper_read_proc(void);
I think, we don't need this function.

> char *uim_helper_get_message(void);
> 
> /**/
> void uim_helper_send_message(const char *message);
> 
> In future, helper system will be used for customizing of 
> committing string from another app (input palette) or so.
> Therefore, we need to prepere flexible API for it.
> 
> How do you think about this, Yamaken?

I think generally good, except uim_helper_read_proc. May I ask you to
change helper APIs? (Of course after I released 0.4.0)

-- 
TOKUNAGA Hiroyuki
http://kodou.net/




More information about the uim mailing list