Fcitx
|
... More...
#include <fcitx/userinterface.h>
Public Member Functions | |
virtual void | update (UserInterfaceComponent component, InputContext *inputContext)=0 |
virtual bool | available ()=0 |
virtual void | suspend ()=0 |
virtual void | resume ()=0 |
![]() | |
virtual void | reloadConfig () |
Reload configuration from disk. | |
virtual void | save () |
Save any relevant data. Usually, it will be invoked when fcitx exits. | |
virtual const Configuration * | getConfig () const |
Get the configuration. | |
virtual void | setConfig (const RawConfig &) |
Set configuration from Raw Config. | |
virtual const Configuration * | getSubConfig (const std::string &) const |
virtual void | setSubConfig (const std::string &, const RawConfig &) |
template<typename Signature , typename... Args> | |
std::function< Signature >::result_type | callWithSignature (const std::string &name, Args &&...args) |
template<typename MetaSignatureString , typename... Args> | |
AddonFunctionSignatureReturnType< MetaSignatureString > | callWithMetaString (Args &&...args) |
template<typename MetaType , typename... Args> | |
AddonFunctionSignatureReturnType< typename MetaType::Name > | call (Args &&...args) |
Call an exported function for this addon. | |
void | registerCallback (const std::string &name, AddonFunctionAdaptorBase *adaptor) |
const AddonInfo * | addonInfo () const |
bool | canRestart () const |
Check if this addon can safely restart. More... | |
Additional Inherited Members | |
![]() | |
void | setCanRestart (bool canRestart) |
Set if this addon can safely restart. More... | |
...
Definition at line 38 of file userinterface.h.