Fcitx
Public Member Functions | Static Public Member Functions | List of all members
fcitx::Library Class Reference

Public Member Functions

 Library (const std::string &path)
 
 Library (const char *path)
 
 Library (const std::filesystem::path &path={})
 
 FCITX_DECLARE_VIRTUAL_DTOR_MOVE (Library)
 
bool loaded () const
 
bool load (Flags< LibraryLoadHint > hint=LibraryLoadHint::DefaultHint)
 
bool unload ()
 
void * resolve (const char *name)
 
bool findData (const char *slug, const char *magic, size_t lenOfMagic, const std::function< void(const char *data)> &parser)
 
std::string error ()
 
const std::string & path () const
 
const std::filesystem::path & fspath () const
 

Static Public Member Functions

template<typename Func >
static auto toFunction (void *ptr)
 
static bool isNewNamespaceSupported ()
 

Detailed Description

Definition at line 37 of file library.h.


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