Fcitx
Public Member Functions | Friends | List of all members
fcitx::AddonManager Class Reference

Public Member Functions

 AddonManager ()
 Construct an addon manager.
 
 AddonManager (const std::string &addonConfigDir)
 Create addon manager with given addon config dir. More...
 
virtual ~AddonManager ()
 Destruct and unload all addons.
 
void registerDefaultLoader (StaticAddonRegistry *registry)
 Register addon loader, including static and shared library loader. More...
 
void registerLoader (std::unique_ptr< AddonLoader > loader)
 Register new addon loader. More...
 
void unregisterLoader (const std::string &name)
 Unregister addon loader. More...
 
void load (const std::unordered_set< std::string > &enabled={}, const std::unordered_set< std::string > &disabled={})
 Load addon based on given parameter. More...
 
void unload ()
 Destruct all addon, all information is cleared to the initial state. More...
 
void saveAll ()
 Save all addon configuration. More...
 
AddonInstanceaddon (const std::string &name, bool load=false)
 Get the loaded addon instance. More...
 
const AddonInfoaddonInfo (const std::string &name) const
 Get addon information for given addon. More...
 
std::unordered_set< std::string > addonNames (AddonCategory category)
 
Instanceinstance ()
 Return the fcitx instance when it is created by Fcitx. More...
 
EventLoopeventLoop ()
 Return the associated event loop. More...
 
void setEventLoop (EventLoop *eventLoop)
 Set event loop. More...
 
const SemanticVersionversion () const
 Return the version number of Fcitx5Core library.
 
bool checkUpdate () const
 Check directory for quick hint for whether update is required. More...
 

Friends

class Instance
 

Detailed Description

Definition at line 29 of file addonmanager.h.


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