|
typedef Pointer< FilterFactoryBase > | scim::FilterFactoryPointer |
|
typedef unsigned int(* | scim::FilterModuleInitFunc) (const ConfigPointer &config) |
| Initialize a Filter Module. More...
|
|
typedef FilterFactoryPointer(* | scim::FilterModuleCreateFilterFunc) (unsigned int index) |
| Create an object of this FilterFactory class. More...
|
|
typedef bool(* | scim::FilterModuleGetFilterInfoFunc) (unsigned int index, FilterInfo &info) |
| Get basic information of the FilterFactory class provided by this module. More...
|
|
typedef Pointer< IMEngineFactoryBase > | scim::IMEngineFactoryPointer |
|
typedef Pointer< IMEngineInstanceBase > | scim::IMEngineInstancePointer |
|
typedef Slot1< void, IMEngineInstanceBase * > | scim::IMEngineSlotVoid |
|
typedef Slot2< void, IMEngineInstanceBase *, int > | scim::IMEngineSlotInt |
|
typedef Slot2< void, IMEngineInstanceBase *, bool > | scim::IMEngineSlotBool |
|
typedef Slot2< void, IMEngineInstanceBase *, const String & > | scim::IMEngineSlotString |
|
typedef Slot2< void, IMEngineInstanceBase *, const WideString & > | scim::IMEngineSlotWideString |
|
typedef Slot2< void, IMEngineInstanceBase *, const KeyEvent & > | scim::IMEngineSlotKeyEvent |
|
typedef Slot2< void, IMEngineInstanceBase *, const LookupTable & > | scim::IMEngineSlotLookupTable |
|
typedef Slot2< void, IMEngineInstanceBase *, const Property & > | scim::IMEngineSlotProperty |
|
typedef Slot2< void, IMEngineInstanceBase *, const PropertyList & > | scim::IMEngineSlotPropertyList |
|
typedef Slot3< void, IMEngineInstanceBase *, const String &, const Transaction & > | scim::IMEngineSlotStringTransaction |
|
typedef Slot3< void, IMEngineInstanceBase *, const WideString &, const AttributeList & > | scim::IMEngineSlotWideStringAttributeList |
|
typedef Slot5< bool, IMEngineInstanceBase *, WideString &, int &, int, int > | scim::IMEngineSlotGetSurroundingText |
|
typedef Slot3< bool, IMEngineInstanceBase *, int, int > | scim::IMEngineSlotDeleteSurroundingText |
|
typedef unsigned int(* | scim::IMEngineModuleInitFunc) (const ConfigPointer &config) |
| Initialize a IMEngine Module. More...
|
|
typedef IMEngineFactoryPointer(* | scim::IMEngineModuleCreateFactoryFunc) (unsigned int engine) |
| Create a factory instance for an engine,. More...
|
|
The base classes for filter input method engine modules.
The base classes for input method engine modules.
typedef unsigned int(* scim::FilterModuleInitFunc) (const ConfigPointer &config) |
Initialize a Filter Module.
There must be a function called "scim_filter_module_init" in each filter module which complies with this prototype. This function name can have a prefix like sctc_LTX_, in which "sctc" is the module's name.
If a filter needs services from other IMEngineFactory objects, it should obtain the pointer of these IMEngineFactory objects from the given BacnEnd pointer. But please note that, those IMEngineFactory objects may not be loaded yet, when initializing this Filter module. So the pointers of available IMEngineFactory objects should only be queried from the BackEnd at the first time to used by this Filter.
- Parameters
-
config | a ConfigBase instance to maintain the configuration. |
- Returns
- the number of filters provided by this module.
Create an object of this FilterFactory class.
There must be a function called "scim_filter_module_create_filter" which complies with this prototype. This function name can have a prefix like sctc_LTX_, in which "sctc" is the module's name.
A new FilterFactory object should be returned for each call. Because multiple objects would be used at the same time.
- Parameters
-
index | the index of the FilterFactory to be used to create the object. Must between 0 and (number_of_filters - 1). |
backend | the BackEnd instance which holds all real IMEngineFactory objects. Some filter may want to use other IMEngineFactory object to do some job, eg. inverse convert. |
- Returns
- the pointer of the FilterFactory object.