KVIrc
4.9.2
DeveloperAPIs
|
#include "KviModule.h"
#include "KviApplication.h"
#include "KviLocale.h"
#include "KviIrcServer.h"
#include "KviIrcServerDataBase.h"
#include <QString>
Macros | |
#define | BEGIN_SERVERDB_GET_NETWORK_PROPERTY(__functionName) |
#define | BEGIN_SERVERDB_GET_SERVER_PROPERTY(__functionName) |
#define | END_SERVERDB_GET_NETWORK_PROPERTY |
#define | END_SERVERDB_GET_SERVER_PROPERTY |
#define | SERVERDB_GET_NETWORK_PROPERTY(__functionName, __callName) |
#define | SERVERDB_GET_SERVER_PROPERTY(__functionName, __callName, __variantSetCallName) |
#define | SERVERDB_SET_NETWORK_PROPERTY(__functionName, __callName) |
#define | SERVERDB_SET_SERVER_PROPERTY(__functionName, __callName) |
Functions | |
if (pAutoJoinChannels) | |
c | returnValue () -> setArray(pArray) |
static END_SERVERDB_GET_SERVER_PROPERTY bool | serverdb_kvs_cmd_addNetwork (KviKvsModuleCommandCall *c) |
static bool | serverdb_kvs_cmd_addServer (KviKvsModuleCommandCall *c) |
static bool | serverdb_kvs_fnc_networkExists (KviKvsModuleFunctionCall *c) |
static bool | serverdb_kvs_fnc_serverExists (KviKvsModuleFunctionCall *c) |
static bool | serverdb_module_can_unload (KviModule *) |
static bool | serverdb_module_cleanup (KviModule *) |
static bool | serverdb_module_init (KviModule *m) |
Variables | |
KVIRC_API KviIrcServerDataBase * | g_pServerDataBase |
KviKvsArray * | pArray = new KviKvsArray() |
QStringList * | pAutoJoinChannels = pNetwork->autoJoinChannelList() |
#define BEGIN_SERVERDB_GET_NETWORK_PROPERTY | ( | __functionName | ) |
#define BEGIN_SERVERDB_GET_SERVER_PROPERTY | ( | __functionName | ) |
#define END_SERVERDB_GET_NETWORK_PROPERTY |
#define END_SERVERDB_GET_SERVER_PROPERTY |
#define SERVERDB_GET_NETWORK_PROPERTY | ( | __functionName, | |
__callName | |||
) |
#define SERVERDB_GET_SERVER_PROPERTY | ( | __functionName, | |
__callName, | |||
__variantSetCallName | |||
) |
#define SERVERDB_SET_NETWORK_PROPERTY | ( | __functionName, | |
__callName | |||
) |
#define SERVERDB_SET_SERVER_PROPERTY | ( | __functionName, | |
__callName | |||
) |
if | ( | pAutoJoinChannels | ) |
References pArray, and KviKvsArray::set().
|
static |
References __tr2qs_ctx(), KviIrcServerDataBase::addNetwork(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), KviIrcServerDataBase::findNetwork(), g_pServerDataBase, KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviIrcNetwork::setAutoConnect(), and KviKvsModuleCommandCall::switches().
Referenced by serverdb_module_init().
|
static |
References __tr2qs_ctx(), KviKvsRunTimeCall::error(), KviKvsSwitchList::find(), KviIrcServerDataBase::findNetwork(), KviIrcNetwork::findServer(), g_pServerDataBase, KviKvsSwitchList::getAsStringIfExisting(), KviIrcNetwork::insertServer(), KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviIrcServer::setAutoConnect(), KviIrcServer::setCacheIp(), KviIrcServer::setFavorite(), KviIrcServer::setHostName(), KviIrcServer::setIPv6(), KviIrcServer::setPassword(), KviIrcServer::setPort(), KviIrcServer::setUseSSL(), KviKvsModuleCommandCall::switches(), and uPort.
Referenced by serverdb_module_init().
|
static |
|
static |
References __tr2qs_ctx(), KviPointerHashTableIterator< Key, T >::current(), KviKvsRunTimeCall::error(), KviIrcServerDataBase::findNetwork(), KviIrcNetwork::findServer(), KviPointerList< T >::first(), g_pServerDataBase, KVS_PF_OPTIONAL, KVS_PT_STRING, KVSM_PARAMETER, KVSM_PARAMETERS_BEGIN, KVSM_PARAMETERS_END, KviPointerList< T >::next(), r, KviIrcServerDataBase::recordDict(), KviKvsModuleFunctionCall::returnValue(), s, and KviKvsVariant::setBoolean().
Referenced by serverdb_module_init().
|
static |
|
static |
|
static |
KVIRC_API KviIrcServerDataBase* g_pServerDataBase |
Referenced by KviApplication::autoConnectToServers(), KviApplication::createFrame(), KviApplication::saveIrcServerDataBase(), serverdb_kvs_cmd_addNetwork(), serverdb_kvs_cmd_addServer(), serverdb_kvs_fnc_networkExists(), serverdb_kvs_fnc_serverExists(), KviApplication::setup(), setup_finish(), and KviApplication::~KviApplication().
END_SERVERDB_GET_NETWORK_PROPERTY KviKvsArray * pArray = new KviKvsArray() |
Referenced by KviKvsVariant::castToArray(), chan_kvs_fnc_banexceptionlist(), chan_kvs_fnc_banlist(), chan_kvs_fnc_invitelist(), chan_kvs_fnc_masklist(), chan_kvs_fnc_users(), config_kvs_fnc_filelist(), config_kvs_fnc_keylist(), config_kvs_fnc_sectionlist(), context_kvs_fnc_list(), KviKvsVariant::convertToArray(), file_kvs_cmd_writeBytes(), file_kvs_fnc_allSizes(), file_kvs_fnc_ls(), file_kvs_fnc_readBytes(), file_kvs_fnc_readLines(), KviInputEditor::fillSpellCheckerCorrectionsPopup(), if(), KviKvsArrayElement::KviKvsArrayElement(), KviKvsVariant::KviKvsVariant(), KVSO_CLASS_FUNCTION(), MP_KVS_FUNCTION(), objects_kvs_fnc_classes(), regchan_kvs_fnc_list(), reguser_kvs_fnc_list(), reguser_kvs_fnc_mask(), KviKvsVariant::setArray(), KvsObject_http::slotSslErrors(), spellchecker_kvs_suggestions(), TC_KVS_FUNCTION(), theme_kvs_cmd_pack(), KviKvsVariant::unserializeArray(), and window_kvs_fnc_list().
QStringList * pAutoJoinChannels = pNetwork->autoJoinChannelList() |