scim
1.4.18
|
A simple IMEngine to deal with the Compose keys. More...
#include <scim_compose_key.h>
Public Member Functions | |
ComposeKeyFactory () | |
virtual | ~ComposeKeyFactory () |
virtual WideString | get_name () const |
Get the name of this input method engine. More... | |
virtual String | get_uuid () const |
Get the UUID of this input method engine. More... | |
virtual String | get_icon_file () const |
Get the icon file path of this input method engine. More... | |
virtual WideString | get_authors () const |
Get the authors information of this input method engine. More... | |
virtual WideString | get_credits () const |
Get the credits information of this input method engine. More... | |
virtual WideString | get_help () const |
Get the help information of this input method engine. More... | |
virtual bool | validate_encoding (const String &encoding) const |
Check if an encoding is supported by this IMEngineFactory. More... | |
virtual bool | validate_locale (const String &locale) const |
Check if a locale is supported by this IMEngineFactory. More... | |
virtual IMEngineInstancePointer | create_instance (const String &encoding, int id=-1) |
Create a new IMEngineInstance object. More... | |
![]() | |
IMEngineFactoryBase () | |
virtual | ~IMEngineFactoryBase () |
Virtual destructor. More... | |
virtual String | get_language () const |
Get the supported language of this input method engine. More... | |
virtual WideString | inverse_query (const WideString &str) |
Get the original key string of a composed string. More... | |
String | get_default_locale () const |
Get the default locale of this input method engine. More... | |
String | get_default_encoding () const |
Get the default encoding of this input method engine. More... | |
String | get_locales () const |
Get a list of all supported locales, separated by comma. More... | |
String | get_encodings () const |
Get a list of all supported encodings, separated by comma. More... | |
![]() | |
bool | is_referenced () const |
void | ref () |
Increase an object's reference count by one. More... | |
void | unref () |
Additional Inherited Members | |
![]() | |
void | set_locales (const String &locales) |
Set the locales supported by this input method engine. More... | |
void | set_languages (const String &languages) |
Set the languages supported by this input method engine. More... | |
![]() | |
ReferencedObject () | |
Constructor. More... | |
virtual | ~ReferencedObject ()=0 |
Destructor. More... | |
void | set_referenced (bool reference) |
A simple IMEngine to deal with the Compose keys.
scim::ComposeKeyFactory::ComposeKeyFactory | ( | ) |
|
virtual |
|
virtual |
Get the name of this input method engine.
This name should be a localized string.
Implements scim::IMEngineFactoryBase.
|
virtual |
Get the UUID of this input method engine.
Each input method engine has an unique UUID to distinguish itself from other engines.
You may use uuidgen command shipped with e2fsprogs package to generate this UUID.
Implements scim::IMEngineFactoryBase.
|
virtual |
Get the icon file path of this input method engine.
Implements scim::IMEngineFactoryBase.
|
virtual |
Get the authors information of this input method engine.
This string should be a localized string.
Implements scim::IMEngineFactoryBase.
|
virtual |
Get the credits information of this input method engine.
This string should be a localized string.
Implements scim::IMEngineFactoryBase.
|
virtual |
Get the help information of this input method engine.
This string should be a localized string.
Implements scim::IMEngineFactoryBase.
|
virtual |
Check if an encoding is supported by this IMEngineFactory.
The default implementation of this virtual function validates the encoding against the locale list set by method set_locales.
It should be enough in most case.
encoding | - the encoding name to be checked. |
Reimplemented from scim::IMEngineFactoryBase.
|
virtual |
Check if a locale is supported by this IMEngineFactory.
The default implementation of this virtual function validates the locale against the locale list set by method set_locales.
It should be enough in most case.
locale | - the locale name to be checked. |
Reimplemented from scim::IMEngineFactoryBase.
|
virtual |
Create a new IMEngineInstance object.
This method creates a new scim::IMEngineInstanceBase object with the given encoding and id.
encoding | - the encoding supported by the client. |
id | - the instance id, should be unique. |
Implements scim::IMEngineFactoryBase.