1 #ifndef _KVI_KVS_CORESIMPLECOMMANDS_H_
2 #define _KVI_KVS_CORESIMPLECOMMANDS_H_
35 #define KVSCSC(_name) bool _name(KviKvsRunTimeContext * __pContext, KviKvsVariantList * __pParams, KviKvsSwitchList * __pSwitches)
37 #define KVSCSC_pContext __pContext
38 #define KVSCSC_pParams __pParams
39 #define KVSCSC_pSwitches __pSwitches
41 #define KVSCSC_PARAMETER(a, b, c, d) KVS_PARAMETER(a, b, c, d)
43 #define KVSCSC_PARAMETERS_BEGIN \
44 KVS_PARAMETERS_BEGIN(parameter_format_list)
46 #define KVSCSC_PARAMETERS_END \
48 if(!KviKvsParameterProcessor::process(KVSCSC_pParams, KVSCSC_pContext, parameter_format_list)) \
51 #define KVSCSC_REQUIRE_CONNECTION \
52 if(!KVSCSC_pContext->window()->context()) \
53 return KVSCSC_pContext->errorNoIrcContext(); \
54 if(!KVSCSC_pContext->window()->connection()) \
55 return KVSCSC_pContext->warningNoIrcConnection();
57 #define KVSCSC_pWindow __pContext->window()
58 #define KVSCSC_pConnection __pContext->window()->connection()
59 #define KVSCSC_pIrcContext __pContext->context()
61 namespace KviKvsCoreSimpleCommands
73 KVSCSC(debugCKEYWORDWORKAROUND);
77 KVSCSC(deleteCKEYWORDWORKAROUND);
115 KVSCSC(returnCKEYWORDWORKAROUND);
KVIRC_API int run(const QString &url, int contextSpec=FirstFreeContext, KviConsoleWindow *pConsole=0)
Definition: KviIrcUrl.cpp:212
Class to handle variant variables lists.
Definition: KviKvsVariantList.h:41
KVIRC_API void join(QString &url, KviIrcServer *server)
Definition: KviIrcUrl.cpp:147
void quit()
Definition: winamp.cpp:125
Definition: KviKvsSwitchList.h:33
bool multipleModeCommand(KviKvsRunTimeContext *__pContext, KviKvsVariantList *__pParams, KviKvsSwitchList *__pSwitches, char plusminus, char flag)
Definition: KviKvsCoreSimpleCommands.cpp:150
void warning(QString fmt,...)
Definition: KviMessageBox.cpp:41
void init()
Definition: KviKvsCoreSimpleCommands.cpp:39
Definition: KviKvsRunTimeContext.h:103
KVSCSC(rfc2812wrapper)
Definition: KviKvsCoreSimpleCommands.cpp:262
Parser class to handle variant variables lists.
This file contains compile time settings.
KVIRC_API bool parse(const char *url, KviCString &cmdBuffer, int contextSpec=KVI_IRCURL_CONTEXT_FIRSTFREE)
Definition: KviIrcUrl.cpp:46