KVIrc  4.9.2
DeveloperAPIs
Macros | Functions | Variables
libkvimy.cpp File Reference
#include "KviModule.h"
#include "KviConsoleWindow.h"
#include "KviApplication.h"
#include "KviLocale.h"
#include "KviIrcLink.h"
#include "KviIrcConnection.h"
#include "KviIrcConnectionUserInfo.h"
#include "KviIrcConnectionServerInfo.h"
#include "KviIrcServer.h"
#include "Idle.h"

Macros

#define GET_KVS_CONSOLE
 

Functions

static bool my_kvs_cmd_startIdleTimer (KviKvsModuleCommandCall *)
 
static bool my_kvs_cmd_stopIdleTimer (KviKvsModuleCommandCall *)
 
static bool my_kvs_fnc_globalIdle (KviKvsModuleFunctionCall *c)
 
static bool my_kvs_fnc_host (KviKvsModuleFunctionCall *c)
 
static bool my_kvs_fnc_ip (KviKvsModuleFunctionCall *c)
 
static bool my_kvs_fnc_network (KviKvsModuleFunctionCall *c)
 
static bool my_kvs_fnc_nick (KviKvsModuleFunctionCall *c)
 
static bool my_kvs_fnc_server (KviKvsModuleFunctionCall *c)
 
static bool my_kvs_fnc_serverIsIPV6 (KviKvsModuleFunctionCall *c)
 
static bool my_kvs_fnc_serverIsSSL (KviKvsModuleFunctionCall *c)
 
static bool my_kvs_fnc_umode (KviKvsModuleFunctionCall *c)
 
static bool my_kvs_fnc_user (KviKvsModuleFunctionCall *c)
 
static bool my_module_can_unload (KviModule *)
 
static bool my_module_cleanup (KviModule *)
 
static bool my_module_init (KviModule *m)
 

Variables

Idleg_pIdle
 

Macro Definition Documentation

#define GET_KVS_CONSOLE
Value:
kvs_uint_t uiWnd; \
KviConsoleWindow * wnd = 0; \
if(!c->parameterList()->count()) \
{ \
if(c->window()->console()) \
wnd = c->window()->console(); \
c->warning(__tr2qs("This window has no associated IRC context")); \
} \
else \
{ \
wnd = g_pApp->findConsole(uiWnd); \
if(!wnd) \
c->warning(__tr2qs("No such IRC context (%d)"), uiWnd); \
}
#define __tr2qs(__text__)
Definition: KviLocale.h:224
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
#define KVSM_PARAMETERS_BEGIN(pCall)
Definition: KviKvsModuleInterface.h:236
if(m_pFile) delete m_pFile
KVIRC_API KviApplication * g_pApp
Definition: KviApplication.cpp:151
#define KVSM_PARAMETERS_END(pCall)
Definition: KviKvsModuleInterface.h:239
kvi_u64_t kvs_uint_t
Definition: KviKvsTypes.h:34
#define KVS_PF_OPTIONAL
Definition: KviKvsParameterProcessor.h:142
#define KVSM_PARAMETER(a, b, c, d)
Definition: KviKvsModuleInterface.h:233
KviConsoleWindow * findConsole(unsigned int ircContextId)
Definition: KviApplication.cpp:1768
Definition: KviKvsParameterProcessor.h:58

Referenced by my_kvs_fnc_host(), my_kvs_fnc_ip(), my_kvs_fnc_network(), my_kvs_fnc_nick(), my_kvs_fnc_server(), my_kvs_fnc_serverIsIPV6(), my_kvs_fnc_serverIsSSL(), my_kvs_fnc_umode(), and my_kvs_fnc_user().

Function Documentation

static bool my_kvs_cmd_startIdleTimer ( KviKvsModuleCommandCall )
static

References Idle::start().

Referenced by my_module_init().

static bool my_kvs_cmd_stopIdleTimer ( KviKvsModuleCommandCall )
static

References Idle::stop().

Referenced by my_module_init().

static bool my_kvs_fnc_globalIdle ( KviKvsModuleFunctionCall c)
static
static bool my_kvs_fnc_host ( KviKvsModuleFunctionCall c)
static
static bool my_kvs_fnc_ip ( KviKvsModuleFunctionCall c)
static
static bool my_kvs_fnc_network ( KviKvsModuleFunctionCall c)
static
static bool my_kvs_fnc_nick ( KviKvsModuleFunctionCall c)
static
static bool my_kvs_fnc_server ( KviKvsModuleFunctionCall c)
static
static bool my_kvs_fnc_serverIsIPV6 ( KviKvsModuleFunctionCall c)
static
static bool my_kvs_fnc_serverIsSSL ( KviKvsModuleFunctionCall c)
static
static bool my_kvs_fnc_umode ( KviKvsModuleFunctionCall c)
static
static bool my_kvs_fnc_user ( KviKvsModuleFunctionCall c)
static
static bool my_module_can_unload ( KviModule )
static

References g_pIdle.

static bool my_module_cleanup ( KviModule )
static

References g_pIdle.

static bool my_module_init ( KviModule m)
static

Variable Documentation

Idle* g_pIdle