KVIrc  4.9.2
DeveloperAPIs
Namespaces | Macros | Functions
KviKvsCoreCallbackCommands.h File Reference
#include "kvi_settings.h"
#include "KviKvsRunTimeContext.h"
#include "KviKvsVariantList.h"
#include "KviKvsSwitchList.h"
#include "KviKvsScript.h"
#include "KviKvsParameterProcessor.h"

Go to the source code of this file.

Namespaces

 KviKvsCoreCallbackCommands
 

Macros

#define KVSCCC(_name)   bool _name(KviKvsRunTimeContext * __pContext, KviKvsVariantList * __pParams, KviKvsSwitchList * __pSwitches, const KviKvsScript * __pCallback)
 
#define KVSCCC_PARAMETER(a, b, c, d)   KVS_PARAMETER(a, b, c, d)
 
#define KVSCCC_PARAMETERS_BEGIN   KVS_PARAMETERS_BEGIN(parameter_format_list)
 
#define KVSCCC_PARAMETERS_END
 
#define KVSCCC_pCallback   __pCallback
 
#define KVSCCC_pConnection   __pContext->window()->connection()
 
#define KVSCCC_pContext   __pContext
 
#define KVSCCC_pIrcContext   __pContext->context()
 
#define KVSCCC_pParams   __pParams
 
#define KVSCCC_pSwitches   __pSwitches
 
#define KVSCCC_pWindow   __pContext->window()
 
#define KVSCCC_REQUIRE_CONNECTION
 

Functions

void KviKvsCoreCallbackCommands::init ()
 
 KviKvsCoreCallbackCommands::KVSCCC (ahost)
 
 KviKvsCoreCallbackCommands::KVSCCC (alias)
 
 KviKvsCoreCallbackCommands::KVSCCC (awhois)
 
 KviKvsCoreCallbackCommands::KVSCCC (button)
 
 KviKvsCoreCallbackCommands::KVSCCC (event)
 
 KviKvsCoreCallbackCommands::KVSCCC (exec)
 
 KviKvsCoreCallbackCommands::KVSCCC (privateimpl)
 
 KviKvsCoreCallbackCommands::KVSCCC (timer)
 

Macro Definition Documentation

#define KVSCCC (   _name)    bool _name(KviKvsRunTimeContext * __pContext, KviKvsVariantList * __pParams, KviKvsSwitchList * __pSwitches, const KviKvsScript * __pCallback)
#define KVSCCC_PARAMETER (   a,
  b,
  c,
  d 
)    KVS_PARAMETER(a, b, c, d)
#define KVSCCC_PARAMETERS_BEGIN   KVS_PARAMETERS_BEGIN(parameter_format_list)
#define KVSCCC_PARAMETERS_END
Value:
return false;
#define KVSCCC_pParams
Definition: KviKvsCoreCallbackCommands.h:37
if(m_pFile) delete m_pFile
#define KVSCCC_pContext
Definition: KviKvsCoreCallbackCommands.h:36
bool process(KviKvsVariantList *pVariantList, KviKvsRunTimeContext *pContext, KviKvsParameterProcessor::ParameterFormat *pFmtArray)
Definition: KviKvsParameterProcessor.cpp:136

Referenced by KviKvsCoreCallbackCommands::KVSCCC().

#define KVSCCC_pCallback   __pCallback
#define KVSCCC_pConnection   __pContext->window()->connection()
#define KVSCCC_pContext   __pContext
#define KVSCCC_pIrcContext   __pContext->context()
#define KVSCCC_pParams   __pParams
#define KVSCCC_pSwitches   __pSwitches
#define KVSCCC_pWindow   __pContext->window()
#define KVSCCC_REQUIRE_CONNECTION
Value:
if(!KVSCCC_pContext->window()->context()) \
return KVSCCC_pContext->errorNoIrcContext(); \
if(!KVSCCC_pContext->window()->connection()) \
return KVSCCC_pContext->warningNoIrcConnection();
if(m_pFile) delete m_pFile
#define KVSCCC_pContext
Definition: KviKvsCoreCallbackCommands.h:36

Referenced by KviKvsCoreCallbackCommands::KVSCCC().