1 #ifndef _KVI_MODULEEXTENSION_H_
2 #define _KVI_MODULEEXTENSION_H_
85 const QPixmap *
icon() {
return m_pIcon; };
86 int flags() {
return m_iFlags; };
91 void setFlags(
int iFlags) { m_iFlags = iFlags; };
92 void setIcon(
const QPixmap & pix);
119 void unregisterExtensionsByModule(
KviModule *
m);
145 virtual void die() = 0;
148 #endif //_KVI_MODULEEXTENSION_H_
int flags()
Definition: KviModuleExtension.h:86
Definition: KviHeapObject.h:124
Definition: KviCString.h:105
KviModuleExtensionAllocRoutine m_allocRoutine
Definition: KviModuleExtension.h:70
const KviCString & name()
Definition: KviModuleExtension.h:81
#define KVIRC_API
Definition: kvi_settings.h:128
struct _KviModuleExtensionAllocStructTag KviModuleExtensionAllocStruct
void setAuthor(const KviCString &szAuthor)
Definition: KviModuleExtension.h:88
#define m
Definition: detector.cpp:77
const KviCString & author()
Definition: KviModuleExtension.h:83
int id()
Definition: KviModuleExtension.h:78
KviCString m_szType
Definition: KviModuleExtension.h:63
KVIRC_API KviModuleExtensionManager * g_pModuleExtensionManager
Definition: KviModuleExtension.cpp:33
Definition: KviModuleExtension.h:105
Definition: KviModuleExtension.h:41
QString m_szVisibleName
Definition: KviModuleExtension.h:65
KviModuleExtension *(* KviModuleExtensionAllocRoutine)(KviModuleExtensionAllocStruct *)
Definition: KviModuleExtension.h:49
void setDescription(const KviCString &szDescription)
Definition: KviModuleExtension.h:89
KviModule * m_pModule
Definition: KviModuleExtension.h:73
#define e
Definition: detector.cpp:69
static KviModuleExtensionManager * instance()
Definition: KviModuleExtension.h:123
const KviCString & description()
Definition: KviModuleExtension.h:84
char s d
Definition: KviIrcNumericCodes.h:391
KviPointerList< KviModuleExtensionDescriptor > KviModuleExtensionDescriptorList
Definition: KviModuleExtension.h:99
KviPointerHashTable< const char *, KviModuleExtensionDescriptorList > * m_pExtensionDict
Definition: KviModuleExtension.h:114
const KviCString & type()
Definition: KviModuleExtension.h:80
KviPointerHashTable< QString, QVariant > * pParams
Definition: KviModuleExtension.h:45
KviPointerList< KviModuleExtension > * m_pObjectList
Definition: KviModuleExtension.h:71
KviCString m_szAuthor
Definition: KviModuleExtension.h:66
void setFlags(int iFlags)
Definition: KviModuleExtension.h:91
const QString & visibleName()
Definition: KviModuleExtension.h:82
KviModuleExtensionDescriptor * pDescriptor
Definition: KviModuleExtension.h:43
#define r
Definition: detector.cpp:82
Definition: KviModuleExtension.h:132
C++ Template based double linked pointer list class.
Base class for all windows in KVIrc.
Definition: KviWindow.h:74
void * allocate(int size)
COMPILE_MEMORY_PROFILE.
Definition: KviMemory.h:113
Definition: KviModuleExtension.h:51
Definition: KviApplication.h:102
Definition: KviModule.h:131
QPixmap * m_pIcon
Definition: KviModuleExtension.h:69
int m_iFlags
Definition: KviModuleExtension.h:68
static KviModuleExtensionManager * manager()
Definition: KviModuleExtension.h:142
KviWindow * pWindow
Definition: KviModuleExtension.h:44
KviModule * module()
Definition: KviModuleExtension.h:79
void * pSpecial
Definition: KviModuleExtension.h:46
KviModuleExtensionDescriptor * descriptor()
Definition: KviModuleExtension.h:143
This file contains compile time settings.
KviCString m_szName
Definition: KviModuleExtension.h:64
KviModuleExtensionDescriptor * m_pDescriptor
Definition: KviModuleExtension.h:139
KviCString m_szDescription
Definition: KviModuleExtension.h:67
const QPixmap * icon()
Definition: KviModuleExtension.h:85
void setVisibleName(const KviCString &szVisibleName)
Definition: KviModuleExtension.h:90
int m_iId
Definition: KviModuleExtension.h:62