Kanzi  3.9.6
Kanzi Engine API
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. More...
 
 InputMethodBackend ()=default
 Constructor. More...
 
- Public Member Functions inherited from kanzi::Module
virtual void destroy ()
 
virtual MetaclassContainer getMetaclassesOverride ()
 
 Module ()
 
virtual void registerDebugRenderingFunctions (DebugRenderRegistry &)
 Register the module debug rendering functions. More...
 
virtual void registerMetadataOverride (ObjectFactory &)
 Register the rest of module metadata, such as loaders for types in module. More...
 
void setDomain (Domain *domain)
 Set the domain. More...
 

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. More...
 
- Protected Attributes inherited from kanzi::Module
Domainm_domain
 The domain this module is registered to. More...
 

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: