KVIrc 5.2.0
Developer APIs
Functions | Variables
libkvispellchecker.cpp File Reference
#include "KviModule.h"
#include "KviOptions.h"
#include <enchant.h>
#include <enchant-provider.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_cleanup (KviModule *)
 
static bool spellchecker_module_init (KviModule *m)
 
static void spellchecker_reload_dicts ()
 

Variables

static EnchantBroker * g_pEnchantBroker = nullptr
 
static KviPointerList< EnchantDict > * 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()

static bool spellchecker_kvs_available_dictionaries ( KviKvsModuleFunctionCall c)
static

◆ spellchecker_kvs_check()

static bool spellchecker_kvs_check ( KviKvsModuleFunctionCall c)
static

◆ spellchecker_kvs_reload_dictionaries()

static bool spellchecker_kvs_reload_dictionaries ( KviKvsModuleCommandCall c)
static

◆ spellchecker_kvs_suggestions()

static bool spellchecker_kvs_suggestions ( KviKvsModuleFunctionCall c)
static

◆ spellchecker_module_cleanup()

static bool spellchecker_module_cleanup ( KviModule )
static

◆ spellchecker_module_init()

static bool spellchecker_module_init ( KviModule m)
static

◆ spellchecker_reload_dicts()

static void spellchecker_reload_dicts ( )
static

Variable Documentation

◆ g_pEnchantBroker

EnchantBroker* g_pEnchantBroker = nullptr
static

◆ g_pEnchantDicts

KviPointerList<EnchantDict>* g_pEnchantDicts = nullptr
static