TII-IIIMCF Input Method

To compile the test program:
# make IIIMF_SRC=(THE PATH TO YOUR IM-SDK SOURCE)
(example: make IIIMF_SRC=/usr/local/src/im-sdk/trunk)


-----------------------------------------------------------------------------
The IIIMCF code in TII is made to be portable, so you will be able to compile it without the rest of TII souce. (Maybe useful for those who only need IIIMF)
Here is a simple reference for those who are interested...

1. Required files:
	iiimcf/components.c
	iiimcf/components.h
	iiimcf/im.c
	iiimcf/im.h
	iiimcf/keycodes.h
	iiimcf/tii-iiimcf.c
	iiimcf/tii-iiimcf.h
	iiimcf/util.c
	iiimcf/util.h
	global.c
	global.h

2. The following headers need to be included as your headers:
	iiimcf/tii-iiimcf.h
	global.h

3. To initialize:
	tii_global_use_im("IM NAME");
	tii_iiimcf_init();

4. To send a character:
	tii_iiimcf_sendkey('KEY', SHIFT_STATE);

5. To finalize:
	tii_iiimcf_exit();

6. Change the definitions of the handler functions in global.h to your handler functions

7. Include the definitions of your handler functions in global.h

8. To compile include the following options
	-DHAVE_CONFIG_H
	-I$(IIIMF_SRC)/lib/iiimp
	-I$(IIIMF_SRC)/include
	-liiimcf
	where $(IIIMF_SRC) is the location of your im-sdk source

* Read the parent directory's README and look at this directory's 'test.c' and 'Makefile' for detailed information.
