1#ifndef _KVI_KVS_EVENTHANDLER_H_
2#define _KVI_KVS_EVENTHANDLER_H_
57 KviKvsScriptEventHandler(QString szHandlerName,
const QString & szContextName,
const QString & szCode,
bool bEnabled =
true);
77 static KviKvsScriptEventHandler * createInstance(
const QString & szHandlerName,
const QString & szContextName,
const QString & szCode,
bool bEnabled =
true);
bool(* KviKvsModuleEventHandlerRoutine)(KviKvsModuleEventCall *c)
Definition KviKvsModuleInterface.h:133
Helper functions for the QString class.
Definition KviHeapObject.h:119
KviKvsEventHandler(Type t)
Definition KviKvsEventHandler.cpp:29
Type
Definition KviKvsEventHandler.h:37
@ Script
Definition KviKvsEventHandler.h:38
@ Module
Definition KviKvsEventHandler.h:39
Type m_type
Definition KviKvsEventHandler.h:43
Type type()
Definition KviKvsEventHandler.h:50
virtual ~KviKvsEventHandler()
KviKvsModuleEventHandlerRoutine * m_pProc
Definition KviKvsEventHandler.h:84
KviKvsModuleInterface * m_pModule
Definition KviKvsEventHandler.h:83
KviKvsModuleInterface * moduleInterface()
Definition KviKvsEventHandler.h:91
KviKvsModuleEventHandler(KviKvsModuleInterface *m, KviKvsModuleEventHandlerRoutine proc)
Definition KviKvsEventHandler.cpp:55
KviKvsModuleEventHandlerRoutine * handlerRoutine()
Definition KviKvsEventHandler.h:92
Definition KviKvsModuleInterface.h:136
Definition KviKvsEventHandler.h:54
const QString & code()
Definition KviKvsEventHandler.h:68
bool m_bEnabled
Definition KviKvsEventHandler.h:63
bool isEnabled()
Definition KviKvsEventHandler.h:70
KviKvsScriptEventHandler(QString szHandlerName, const QString &szContextName, const QString &szCode, bool bEnabled=true)
Definition KviKvsEventHandler.cpp:37
QString m_szName
Definition KviKvsEventHandler.h:61
KviKvsScript * m_pScript
Definition KviKvsEventHandler.h:62
const QString & name()
Definition KviKvsEventHandler.h:67
void setEnabled(bool bEnabled)
Definition KviKvsEventHandler.h:71
KviKvsScript * script()
Definition KviKvsEventHandler.h:66
The KVIrc Script class.
Definition KviKvsScript.h:60
#define m
Definition detector.cpp:78
#define t
Definition detector.cpp:85
This file contains compile time settings.
#define KVIRC_API
Definition kvi_settings.h:127