/usr/share/doc/scim-dev-doc/developers is in scim-dev-doc 1.4.15-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | Development notes for SCIM
==========================
If you want to write your own input method with SCIM, you should
implement three classes, BackEnd, IMEngineFactory and IMEngineInstance:
* BackEnd
Manage all of the IMEngineFactory objects in order to let FrontEnd
use them.
See src/scim_backend.* to learn how to implement it.
* IMEngineFactory
An input method has one IMEngineFactory objects which manages all of
the IMEngineInstance objects that FrontEnd requests to create. If there
are any global data which should be shared among all IMEngineInstances, such as
phrase library etc.,they should be put into IMEngineFactory and only transfer
the pointer to IMEngineInstance.
See src/scim_imengine.* and modules/IMEngine/* to learn how to implement it.
* IMEngineInstance
The real keyevents -> strings conversion work is done by this class.
The keyevents fired by client program will be transported to IMEngineInstance
by calling IMEngineInstance::process_key_event (...) from FrontEnd.
IMEngineInstance objects should process these key events and make response to
FrontEnd by calling base class functions show_preedit_string,
update_preedit_string etc.
See modules/IMEngine/* to learn how to implement it.
|