KVIrc 5.2.6
Developer APIs
libkvispellchecker.cpp File Reference
#include "KviModule.h"
#include "KviOptions.h"
#include <enchant++.h>

Functions

static void spellchecker_enumerate_dicts (const char *szLang, const char *, const char *szDesc, const char *, void *pData)
 
static bool spellchecker_kvs_available_dictionaries (KviKvsModuleFunctionCall *c)
 
static bool spellchecker_kvs_check (KviKvsModuleFunctionCall *c)
 
static bool spellchecker_kvs_reload_dictionaries (KviKvsModuleCommandCall *c)
 
static bool spellchecker_kvs_suggestions (KviKvsModuleFunctionCall *c)
 
static bool spellchecker_module_can_unload (KviModule *)
 
static bool spellchecker_module_cleanup (KviModule *)
 
static bool spellchecker_module_init (KviModule *m)
 
static void spellchecker_reload_dicts ()
 

Variables

static enchant::Broker * g_pEnchantBroker = nullptr
 
static KviPointerList< enchant::Dict > * g_pEnchantDicts = nullptr
 

Function Documentation

◆ spellchecker_enumerate_dicts()

static void spellchecker_enumerate_dicts ( const char * szLang,
const char * ,
const char * szDesc,
const char * ,
void * pData )
static

◆ spellchecker_kvs_available_dictionaries()

◆ spellchecker_kvs_check()

◆ spellchecker_kvs_reload_dictionaries()

static bool spellchecker_kvs_reload_dictionaries ( KviKvsModuleCommandCall * c)
static

◆ spellchecker_kvs_suggestions()

◆ spellchecker_module_can_unload()

static bool spellchecker_module_can_unload ( KviModule * )
static

◆ spellchecker_module_cleanup()

static bool spellchecker_module_cleanup ( KviModule * )
static

◆ spellchecker_module_init()

◆ spellchecker_reload_dicts()

Variable Documentation

◆ g_pEnchantBroker

◆ g_pEnchantDicts