[openi18n-im:01423] Re: patch to export information of input method engine
MIYASHITA Hisashi <[email protected]> (宮下 尚:HIMI) Mon, 20 Jun 2005 16:16:48 +0900
| Newsgroups | gmane.comp.internationalization.input-methods |
|---|---|
| Message-ID | <ur7exzee7.wl%[email protected]> |
Just one comment.
At Sun, 19 Jun 2005 23:22:17 +0800,
Federic Zhang wrote:
> +IIIMF_status
> +iiimcf_get_input_method_imeinfos(
> + IIIMCF_input_method input_method,
> + int *pinput_method_imeinfo_size,
> + IIIMCF_imeinfo_rec ***ppimeinfos
> +)
> +{
> + IIIMCF_input_method_rec *pi = (IIIMCF_input_method_rec*) input_method;
> +
> + if (pinput_method_imeinfo_size)
> + *pinput_method_imeinfo_size = pi->num_imeinfos;
> + if (ppimeinfos)
> + *ppimeinfos = pi->ppimeinfos;
> +
> + return IIIMF_STATUS_SUCCESS;
> +}
I think we should change this API's signature to
IIIMF_status
iiimcf_get_input_method_imeinfos(
IIIMCF_input_method input_method,
int *pinput_method_imeinfo_size,
const IIIMCF_imeinfo_rec ***ppimeinfos
^^^^^
).
c.f. iiimcf_get_downloaded_object_descriptor().
With regards,
from himi