KVIrc 5.2.6
Developer APIs
KviKvsModuleInterface.cpp File Reference

Macros

#define COMPLETE_WORD_BY_DICT(word, list, type, dict)
 

Functions

static bool default_module_kvs_cmd_load (KviKvsModuleCommandCall *)
 
static bool default_module_kvs_cmd_unload (KviKvsModuleCommandCall *c)
 

Macro Definition Documentation

◆ COMPLETE_WORD_BY_DICT

#define COMPLETE_WORD_BY_DICT ( word,
list,
type,
dict )
Value:
{ \
int l = word.length(); \
while(it.current()) \
{ \
if(KviQString::equalCIN(word, it.currentKey(), l)) \
list.push_back(it.currentKey()); \
++it; \
} \
}
A fast pointer hash table iterator implementation.
Definition KviPointerHashTable.h:967
#define l
Definition detector.cpp:77
bool equalCIN(const QString &sz1, const QString &sz2, unsigned int uLen)
Compares two strings with case insensitive up to N chars.
Definition KviQString.cpp:84

Referenced by KviKvsModuleInterface::completeCommand(), and KviKvsModuleInterface::completeFunction().

Function Documentation

◆ default_module_kvs_cmd_load()

static bool default_module_kvs_cmd_load ( KviKvsModuleCommandCall * )
static

◆ default_module_kvs_cmd_unload()