Kanzi  3.9.5
Kanzi Engine API
kanzi::InputMethodManager Class Reference

The InputMethodManager keeps track of the input method backends registered in Kanzi. More...

#include <kanzi/core.ui/input_method/input_method_manager.hpp>

Public Types

using InputMethodContainer = vector< InputMethodSharedPtr >
 The container that holds input method instances. More...
 

Public Member Functions

InputMethodContainer getInputMethodInstances ()
 Returns an array of input method instances retrieved from the registered input method backends. More...
 
 InputMethodManager (Domain *domain)
 Constructor. More...
 
void notifyModuleRegistration (string_view moduleName, shared_ptr< Module > module)
 Notifies the input method manager that a module is registered to Kanzi. More...
 

Detailed Description

The InputMethodManager keeps track of the input method backends registered in Kanzi.

Each domain in Kanzi has an input method manager. A Kanzi application can use multiple input method backends, and all these backends can be active at the same time.

Since
Kanzi 3.9.0

Member Typedef Documentation

◆ InputMethodContainer

The container that holds input method instances.

Constructor & Destructor Documentation

◆ InputMethodManager()

kanzi::InputMethodManager::InputMethodManager ( Domain domain)
explicit

Constructor.

Member Function Documentation

◆ getInputMethodInstances()

InputMethodContainer kanzi::InputMethodManager::getInputMethodInstances ( )

Returns an array of input method instances retrieved from the registered input method backends.

Returns
The container with input method instances.

◆ notifyModuleRegistration()

void kanzi::InputMethodManager::notifyModuleRegistration ( string_view  moduleName,
shared_ptr< Module module 
)

Notifies the input method manager that a module is registered to Kanzi.

Parameters
moduleNameThe name of the registered module.
moduleThe registered module instance.

The documentation for this class was generated from the following file: