KVIrc
4.9.2
DeveloperAPIs
|
#include <KviModule.h>
Static Public Member Functions | |
static void | unregisterMetaObject (const char *metaObjName) |
Protected Member Functions | |
KviModule (QLibrary *handle, KviModuleInfo *info, const QString &name, const QString &filename) | |
unsigned int | secondsSinceLastAccess () |
void | updateAccessTime () |
Protected Member Functions inherited from KviKvsModuleInterface | |
void | registerDefaultCommands () |
Private Attributes | |
long int | m_lastAccessTime |
QLibrary * | m_pLibrary |
KviModuleInfo * | m_pModuleInfo |
QString | m_szFileName |
QString | m_szName |
unsigned int | m_uLock |
Friends | |
class | KviModuleManager |
class | KviPointerHashTable< const char *, KviModule > |
class | KviUserParser |
Additional Inherited Members | |
Protected Attributes inherited from KviKvsModuleInterface | |
KviPointerHashTable< QString, KviKvsModuleCallbackCommandExecRoutine > * | m_pModuleCallbackCommandExecRoutineDict |
KviPointerHashTable< QString, KviKvsModuleFunctionExecRoutine > * | m_pModuleFunctionExecRoutineDict |
KviPointerHashTable< QString, KviKvsModuleSimpleCommandExecRoutine > * | m_pModuleSimpleCommandExecRoutineDict |
|
protected |
References filename(), handle(), m_lastAccessTime, m_pLibrary, m_pModuleInfo, m_szFileName, m_szName, m_uLock, and name().
KviModule::~KviModule | ( | ) |
References m_pLibrary, and unregisterAllExtensions().
bool KviModule::ctrl | ( | const char * | operation, |
void * | param | ||
) |
References _KviModuleInfo::ctrl_routine, and m_pModuleInfo.
Referenced by log_kvs_fnc_export(), OptionsWidget_soundGeneral::mediaAutoDetect(), OptionsWidget_soundGeneral::mediaFillBox(), KviApplication::notifierMessage(), perl_kvs_cmd_begin(), perl_kvs_cmd_destroy(), python_kvs_cmd_begin(), python_kvs_cmd_destroy(), OptionsWidget_soundGeneral::soundAutoDetect(), OptionsWidget_soundGeneral::soundFillBox(), and OptionsWidget_soundGeneral::soundTest().
|
inline |
Referenced by KviModule().
KviModuleExtensionDescriptor * KviModule::findExtensionDescriptor | ( | const KviCString & | szType, |
const KviCString & | szName | ||
) |
void KviModule::getDefaultConfigFileName | ( | QString & | szBuffer | ) |
References KviApplication::ConfigPlugins, g_pApp, KviApplication::getLocalKvircDirectory(), and m_szName.
Referenced by addon_module_cleanup(), addon_module_init(), channelsjoin_module_cleanup(), channelsjoin_module_init(), ScriptEditorImplementation::loadOptions(), ScriptEditorImplementation::saveOptions(), theme_module_cleanup(), theme_module_init(), toolbareditor_module_cleanup(), and toolbareditor_module_init().
void * KviModule::getSymbol | ( | const char * | symname | ) |
References m_pLibrary.
Referenced by KviScriptEditor::createInstance(), KviScriptEditor::destroyInstance(), and KviIrcServerParser::parseCtcpRequestDcc().
|
inline |
Referenced by KviModule(), and KviModuleManager::unloadModule().
|
inline |
Referenced by KviModuleManager::cleanupUnusedModules(), and default_module_kvs_cmd_unload().
|
inline |
Referenced by AliasEditorWidget::askForAliasName(), ClassEditorWidget::askForClassName(), ClassEditorWidget::askForFunction(), AliasEditorWidget::askForNamespaceName(), ClassEditorWidget::askForNamespaceName(), AliasEditorWidget::exportAliases(), ClassEditorWidget::exportClasses(), AliasEditorWidget::exportSelectionInSinglesFiles(), ClassEditorWidget::exportSelectionInSinglesFiles(), AliasEditorWidget::removeItem(), ClassEditorWidget::removeItem(), ClassEditorWidget::renameClass(), ClassEditorWidget::renameFunction(), AliasEditorWidget::renameItem(), ClassEditorWidget::renameNamespace(), AliasEditorWidget::slotFind(), ClassEditorWidget::slotFind(), and term_kvs_cmd_open().
|
inline |
Referenced by KviModuleManager::cleanupUnusedModules(), and KviModuleManager::unloadModule().
|
inline |
Referenced by default_module_kvs_cmd_unload(), KviModule(), and KviModuleManager::unloadModule().
KviModuleExtensionDescriptor * KviModule::registerExtension | ( | const KviCString & | szType, |
const KviCString & | szName, | ||
const QString & | szVisibleName, | ||
KviModuleExtensionAllocRoutine | r | ||
) |
References g_pModuleExtensionManager, and KviModuleExtensionManager::registerExtension().
Referenced by mircimport_module_init().
KviModuleExtensionDescriptor * KviModule::registerExtension | ( | const KviCString & | szType, |
const KviCString & | szName, | ||
const QString & | szVisibleName, | ||
KviModuleExtensionAllocRoutine | r, | ||
const QPixmap & | icon | ||
) |
References g_pModuleExtensionManager, and KviModuleExtensionManager::registerExtension().
|
protected |
References m_lastAccessTime.
Referenced by KviModuleManager::cleanupUnusedModules().
|
inline |
Referenced by AliasEditorWidget::askForAliasName(), ClassEditorWidget::askForClassName(), ClassEditorWidget::askForFunction(), AliasEditorWidget::askForNamespaceName(), ClassEditorWidget::askForNamespaceName(), AliasEditorWidget::exportAliases(), ClassEditorWidget::exportClasses(), AliasEditorWidget::exportSelectionInSinglesFiles(), ClassEditorWidget::exportSelectionInSinglesFiles(), AliasEditorWidget::removeItem(), ClassEditorWidget::removeItem(), ClassEditorWidget::renameClass(), ClassEditorWidget::renameFunction(), AliasEditorWidget::renameItem(), ClassEditorWidget::renameNamespace(), AliasEditorWidget::slotFind(), and ClassEditorWidget::slotFind().
void KviModule::unregisterAllExtensions | ( | ) |
References g_pModuleExtensionManager, and KviModuleExtensionManager::unregisterExtensionsByModule().
Referenced by ~KviModule().
|
static |
|
protected |
References m_lastAccessTime.
Referenced by KviModuleManager::cleanupUnusedModules(), KviModuleManager::findModule(), and KviModuleManager::getModule().
|
friend |
|
friend |
|
friend |
|
private |
Referenced by KviModule(), secondsSinceLastAccess(), and updateAccessTime().
|
private |
Referenced by getSymbol(), KviModule(), and ~KviModule().
|
private |
Referenced by ctrl(), and KviModule().
|
private |
Referenced by KviModule().
|
private |
Referenced by getDefaultConfigFileName(), KviModule(), lamerizer_module_init(), and rijndael_module_init().
|
private |
Referenced by KviModule().