Kanzi 3.9.10
kanzi::InputMethodBackend Class Referenceabstract

The InputMethodBackend defines the interface of the input method backends. More...

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

Inheritance diagram for kanzi::InputMethodBackend:
[legend]

Public Member Functions

virtual InputMethodSharedPtr getInputMethodInstance (Domain *domain)=0
 Returns an instance of an input method.
 
 InputMethodBackend ()=default
 Constructor.
 
- Public Member Functions inherited from kanzi::Module
virtual void destroy ()
 
virtual MetaclassContainer getMetaclassesOverride ()
 
 Module ()
 
virtual void registerDebugRenderingFunctions (DebugRenderRegistry &)
 Registers the debug rendering functions of the module.
 
virtual void registerMetadataOverride (ObjectFactory &)
 Registers the rest of the module metadata, such as loaders for types in the module.
 
void setDomain (Domain *domain)
 Sets the domain.
 

Additional Inherited Members

- Public Types inherited from kanzi::Module
typedef vector< const Metaclass * > MetaclassContainer
 
typedef MetaclassContainer::iterator MetaclassIterator
 
- Protected Member Functions inherited from kanzi::Module
virtual ~Module ()=default
 Destructor.
 
- Protected Attributes inherited from kanzi::Module
Domainm_domain
 The domain this module is registered to.
 

Detailed Description

The InputMethodBackend defines the interface of the input method backends.

An input method backend keeps track of the input methods in a Kanzi application.

Constructor & Destructor Documentation

◆ InputMethodBackend()

kanzi::InputMethodBackend::InputMethodBackend ( )
explicitdefault

Constructor.

Member Function Documentation

◆ getInputMethodInstance()

virtual InputMethodSharedPtr kanzi::InputMethodBackend::getInputMethodInstance ( Domain * domain)
pure virtual

Returns an instance of an input method.

Returns
The created input method instance. It is up to the backend implementation whether it provides a new instance, or the same instance on each call.

Implemented in kanzi::WindowsImeBackend.


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