|
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <InputCodingTableBaiduPY.h>
Public Member Functions | |
| CInputCodingTableBaiduPY (const std::string &strUrl) | |
| ~CInputCodingTableBaiduPY () override=default | |
| void | Initialize () override |
| Called for the active keyboard layout when it's loaded, stick any initialization here. More... | |
| void | Deinitialize () override |
| Called for the active keyboard layout when it's unloaded, stick any cleanup here. More... | |
| bool | IsInitialized () const override |
| Can be overridden if initialization is expensive to avoid calling initialize more than needed. More... | |
| bool | GetWordListPage (const std::string &strCode, bool isFirstPage) override |
| void | Process () override |
| std::vector< std::wstring > | GetResponse (int response) override |
Public Member Functions inherited from IInputCodingTable | |
| virtual int | GetType () |
| virtual | ~IInputCodingTable ()=default |
| const std::string & | GetCodeChars () const |
| virtual void | SetTextPrev (const std::string &strTextPrev) |
| virtual std::string | ConvertString (const std::string &strCode) |
Public Member Functions inherited from CThread | |
| CThread (IRunnable *pRunnable, const char *ThreadName) | |
| virtual | ~CThread () |
| void | Create (bool bAutoDelete=false, unsigned stacksize=0) |
| void | Sleep (unsigned int milliseconds) |
| int | GetSchedRRPriority (void) |
| bool | SetPrioritySched_RR (int iPriority) |
| bool | IsAutoDelete () const |
| virtual void | StopThread (bool bWait=true) |
| bool | IsRunning () const |
| bool | IsCurrentThread () const |
| int | GetMinPriority (void) |
| int | GetMaxPriority (void) |
| int | GetNormalPriority (void) |
| int | GetPriority (void) |
| bool | SetPriority (const int iPriority) |
| bool | WaitForThreadExit (unsigned int milliseconds) |
| float | GetRelativeUsage () |
| int64_t | GetAbsoluteUsage () |
| virtual void | OnException () |
Additional Inherited Members | |
Public Types inherited from IInputCodingTable | |
| enum | { TYPE_WORD_LIST , TYPE_CONVERT_STRING } |
Static Public Member Functions inherited from CThread | |
| static bool | IsCurrentThread (const ThreadIdentifier tid) |
| static ThreadIdentifier | GetCurrentThreadId () |
| static ThreadIdentifier | GetDisplayThreadId (const ThreadIdentifier tid) |
| static CThread * | GetCurrentThread () |
Protected Types inherited from CThread | |
| enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
Protected Member Functions inherited from CThread | |
| CThread (const char *ThreadName) | |
| virtual void | OnStartup () |
| virtual void | OnExit () |
| WaitResponse | AbortableWait (CEvent &event, int timeoutMillis=-1) |
Protected Attributes inherited from IInputCodingTable | |
| std::string | m_codechars |
Protected Attributes inherited from CThread | |
| std::atomic< bool > | m_bStop |
|
explicit |
|
overridedefault |
|
overridevirtual |
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.
Reimplemented from IInputCodingTable.
|
overridevirtual |
Implements IInputCodingTable.
|
overridevirtual |
Implements IInputCodingTable.
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.
Reimplemented from IInputCodingTable.
|
overridevirtual |
Can be overridden if initialization is expensive to avoid calling initialize more than needed.
Reimplemented from IInputCodingTable.