KVIrc  4.9.2
DeveloperAPIs
Macros | Enumerations | Variables
KviIrcServerParser_literalHandlers.cpp File Reference
#include "KviIrcServerParser.h"
#include "KviWindow.h"
#include "KviConsoleWindow.h"
#include "kvi_out.h"
#include "KviLocale.h"
#include "KviIrcSocket.h"
#include "KviOptions.h"
#include "KviIrcMask.h"
#include "KviChannelWindow.h"
#include "KviTopicWidget.h"
#include "KviMainWindow.h"
#include "KviControlCodes.h"
#include "KviQueryWindow.h"
#include "KviUserListView.h"
#include "KviAntiSpam.h"
#include "KviNickServRuleSet.h"
#include "KviParameterList.h"
#include "KviIrcUserDataBase.h"
#include "KviApplication.h"
#include "KviRegisteredUserDataBase.h"
#include "kvi_debug.h"
#include "KviTimeUtils.h"
#include "KviUserAction.h"
#include "KviIrcConnection.h"
#include "KviIrcConnectionUserInfo.h"
#include "KviIrcConnectionTarget.h"
#include "KviIrcConnectionRequestQueue.h"
#include "KviIrcConnectionServerInfo.h"
#include "KviIrcConnectionStateData.h"
#include "KviIrcConnectionNetsplitDetectorData.h"
#include "KviIconManager.h"
#include "KviLagMeter.h"
#include "KviIrcServer.h"
#include "KviKvsEventTriggers.h"
#include "KviIrcNetwork.h"
#include "kvi_settings.h"
#include "KviKvsScript.h"
#include <QDateTime>
#include <QByteArray>
#include <QLocale>

Macros

#define CHANNEL_MODE(__modefl, __evmeset, __evmeunset, __evset, __evunset, __icomeset, __icomeunset, __icoset, __icounset)
 
#define CHANUSER_MODE(__modechar, __chanfunc, __evmeset, __evmeunset, __evset, __evunset, __icomeset, __icomeunset, __icoset, __icounset)
 
#define DECRYPT_IF_NEEDED(_target, _txt, _type, _type2, _buffer, _retptr, _retmsgtype)
 

Enumerations

enum  PrivmsgIdentifyMsgCapState { IdentifyMsgCapNotUsed, IdentifyMsgCapUsedNotIdentified, IdentifyMsgCapUsedIdentified }
 

Variables

KviNickServRuleSetg_pNickServRuleSet
 

Macro Definition Documentation

#define CHANNEL_MODE (   __modefl,
  __evmeset,
  __evmeunset,
  __evset,
  __evunset,
  __icomeset,
  __icomeunset,
  __icoset,
  __icounset 
)
Value:
case __modefl: \
aParam = msg->connection()->decodeText(msg->safeParam(curParam++)); \
chan->setModeInList(*aux, aParam, bSet, msg->connection()->decodeText(msg->safePrefix()), QDateTime::currentDateTime().toTime_t()); \
auxMask = new KviIrcMask(aParam); \
bIsMe = auxMask->matchesFixed( \
msg->connection()->userInfo()->nickName(), \
msg->connection()->userInfo()->userName(), \
msg->connection()->userInfo()->hostName()); \
delete auxMask; \
if(bIsMe) \
{ \
if(KVS_TRIGGER_EVENT_4_HALTED(bSet ? __evmeset : __evmeunset, chan, szNick, szUser, szHost, aParam)) \
msg->setHaltOutput(); \
} \
else \
{ \
if(KVS_TRIGGER_EVENT_4_HALTED(bSet ? __evset : __evunset, chan, szNick, szUser, szHost, aParam)) \
msg->setHaltOutput(); \
} \
if(!(msg->haltOutput() || bShowAsCompact)) \
{ \
chan->output(bSet ? (bIsMe ? __icomeset : __icoset) : (bIsMe ? __icomeunset : __icounset), \
__tr2qs("%Q [%Q@%Q] has set mode %c%c \r!m%c%c %Q\r%Q\r"), \
&szNickBuffer, &szUser, &szHostBuffer, \
bSet ? '+' : '-', __modefl, bSet ? '-' : '+', __modefl, &aParam, &aParam); \
} \
if(bIsMultiSingleMode) \
iIconForCompactMode = (bSet ? (bIsMe ? __icomeset : __icoset) : (bIsMe ? __icomeunset : __icounset)); \
break;
#define __tr2qs(__text__)
Definition: KviLocale.h:224
#define KVS_TRIGGER_EVENT_4_HALTED(__idx, __wnd, __param1, __param2, __param3, __param4)
Definition: KviKvsEventTriggers.h:182
if(m_pFile) delete m_pFile
Irc user mask handling.
Definition: KviIrcMask.h:45
QString szHost
Definition: libkvisetup.cpp:45

Referenced by KviIrcServerParser::parseChannelMode().

#define CHANUSER_MODE (   __modechar,
  __chanfunc,
  __evmeset,
  __evmeunset,
  __evset,
  __evunset,
  __icomeset,
  __icomeunset,
  __icoset,
  __icounset 
)
#define DECRYPT_IF_NEEDED (   _target,
  _txt,
  _type,
  _type2,
  _buffer,
  _retptr,
  _retmsgtype 
)

Enumeration Type Documentation

Enumerator
IdentifyMsgCapNotUsed 
IdentifyMsgCapUsedNotIdentified 
IdentifyMsgCapUsedIdentified 

Variable Documentation

KviNickServRuleSet* g_pNickServRuleSet