kodi
Public Types | Public Member Functions | Protected Attributes | List of all members
IInputCodingTable Class Referenceabstract
Inheritance diagram for IInputCodingTable:
Inheritance graph
[legend]

Public Types

enum  { TYPE_WORD_LIST, TYPE_CONVERT_STRING }
 

Public Member Functions

virtual int GetType ()
 
virtual void Initialize ()
 Called for the active keyboard layout when it's loaded, stick any initialization here. More...
 
virtual void Deinitialize ()
 Called for the active keyboard layout when it's unloaded, stick any cleanup here. More...
 
virtual bool IsInitialized () const
 Can be overridden if initialization is expensive to avoid calling initialize more than needed. More...
 
virtual bool GetWordListPage (const std::string &strCode, bool isFirstPage)=0
 
virtual std::vector< std::wstring > GetResponse (int response)=0
 
const std::string & GetCodeChars () const
 
virtual void SetTextPrev (const std::string &strTextPrev)
 
virtual std::string ConvertString (const std::string &strCode)
 

Protected Attributes

std::string m_codechars
 

Member Function Documentation

◆ Deinitialize()

virtual void IInputCodingTable::Deinitialize ( void  )
inlinevirtual

Called for the active keyboard layout when it's unloaded, stick any cleanup here.

This won't be needed for most implementations so we don't set it =0 but provide a default implementation.

◆ Initialize()

virtual void IInputCodingTable::Initialize ( void  )
inlinevirtual

Called for the active keyboard layout when it's loaded, stick any initialization here.

This won't be needed for most implementations so we don't set it =0 but provide a default implementation.

◆ IsInitialized()

virtual bool IInputCodingTable::IsInitialized ( ) const
inlinevirtual

Can be overridden if initialization is expensive to avoid calling initialize more than needed.

Returns
true if initialization has been done and was successful, false otherwise.

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