The interface class to manage a set of IMEngineFactory and IMEngineInstance objects.
More...
#include <scim_backend.h>
List of all members.
Detailed Description
The interface class to manage a set of IMEngineFactory and IMEngineInstance objects.
This is mainly an accessory interface class used by scim::FrontEndBase. Its responsibility is to hold a set of IMEngineFactory instances and manage the locales list supported by them.
Most developer should just use the default implementation scim::CommonBackEnd.
Constructor & Destructor Documentation
scim::BackEndBase::BackEndBase |
( |
const ConfigPointer & |
config |
) |
[protected] |
Default constructor.
- Parameters:
-
| config | Config object to be used. |
virtual scim::BackEndBase::~BackEndBase |
( |
|
) |
[protected, virtual] |
Member Function Documentation
String scim::BackEndBase::get_all_locales |
( |
|
) |
const |
Get a list of all locales supported by all IMEngineFactories.
- Returns:
- A comma separated locales list.
- Returns:
- Return the pointer of a Factory.
- Parameters:
-
| uuid | The uuid of the IMEngineFactory. |
Get the IMEngine factories list for specific encoding.
- Parameters:
-
| factories | the vector to store the factories which support the encoding. |
| encoding | the encoding to be queried. If empty, all IMEngine factories will be returned. |
- Returns:
- the number of IMEngine factories found.
Get the IMEngine factories list for specific language.
- Parameters:
-
| factories | the vector to store the factories which support the encoding. |
| language | the language to be queried. If empty, all IMEngine factories will be returned. |
- Returns:
- the number of IMEngine factories found.
Get the default IMEngineFactory for a specific language and encoding.
- Parameters:
-
| language | the language to be queried. |
| encoding | the encoding to be queried, if empty then don't match encoding. |
- Returns:
- the pointer of the default IMEngineFactory for this language.
void scim::BackEndBase::set_default_factory |
( |
const String & |
language, |
|
|
const String & |
uuid | |
|
) |
| | |
Set the default IMEngineFactory for a specific language.
- Parameters:
-
| language | the language to be set. |
| uuid | the uuid of the default IMEngineFactory for this language. |
Get the next IMEngineFactory for a specific language and encoding.
- Parameters:
-
| language | the language to be queried, if empty then don't match language. |
| encoding | the encoding to be queried, if empty then don't match encoding. |
| cur_uuid | the UUID of current IMEngineFactory. |
- Returns:
- the pointer of the next IMEngineFactory for this language and encoding corresponding to the current IMEngineFactory.
Get the previous IMEngineFactory for a specific language and encoding.
- Parameters:
-
| language | the language to be queried, if empty then don't match language. |
| encoding | the encoding to be queried, if empty then don't match encoding. |
| cur_uuid | the UUID of current IMEngineFactory. |
- Returns:
- the pointer of the previous IMEngineFactory for this language and encoding corresponding to the current IMEngineFactory.
void scim::BackEndBase::clear |
( |
|
) |
[protected] |
The documentation for this class was generated from the following file: