#include <KviModuleManager.h>
KviModuleManager::KviModuleManager |
( |
| ) |
|
KviModuleManager::~KviModuleManager |
( |
| ) |
|
void KviModuleManager::cleanupUnusedModules |
( |
| ) |
|
|
slot |
References KviPointerList< T >::append(), _KviModuleInfo::can_unload, KviPointerHashTableIterator< Key, T >::current(), KviPointerList< T >::first(), KviModule::isLocked(), KVI_OPTION_UINT, KviOption_uintModuleCleanupTimeout, m_pModuleDict, KviModule::moduleInfo(), KviPointerList< T >::next(), KviModule::secondsSinceLastAccess(), KviPointerList< T >::setAutoDelete(), unloadModule(), and KviModule::updateAccessTime().
Referenced by KviModuleManager().
void KviModuleManager::completeModuleNames |
( |
const QString & |
word, |
|
|
KviPointerList< QString > * |
matches |
|
) |
| |
void KviModuleManager::completeModuleNames |
( |
const QString & |
path, |
|
|
const QString & |
work, |
|
|
KviPointerList< QString > * |
matches |
|
) |
| |
|
protected |
KviModule * KviModuleManager::findModule |
( |
const QString & |
modName | ) |
|
KviModule * KviModuleManager::getModule |
( |
const QString & |
modName | ) |
|
References KviPointerHashTable< Key, T >::find(), loadModule(), m, m_pModuleDict, and KviModule::updateAccessTime().
Referenced by KviModuleExtensionManager::allocateExtensionGetDescriptorList(), ScriptEditorWidget::asyncCompleterCreation(), KviKvsKernel::completeModuleCommand(), KviKvsKernel::completeModuleFunction(), KviScriptEditor::createInstance(), KviScriptEditor::destroyInstance(), KviKvsTreeNodeModuleFunctionCall::evaluateReadOnly(), KviKvsTreeNodeModuleSimpleCommand::execute(), KviKvsTreeNodeModuleCallbackCommand::execute(), KviActionManager::getAction(), KviKvsCoreSimpleCommands::KVSCSC(), KviStatusBar::load(), loadModulesByCaps(), log_kvs_fnc_export(), KviKvsObjectController::lookupClass(), OptionsWidget_soundGeneral::mediaAutoDetect(), OptionsWidget_soundGeneral::mediaFillBox(), KviApplication::notifierMessage(), ClassEditorWidget::oneTimeSetup(), KviIrcServerParser::parseCtcpRequestDcc(), perl_kvs_fnc_isAvailable(), perl_module_init(), python_kvs_fnc_isAvailable(), python_module_init(), OptionsWidget_soundGeneral::soundAutoDetect(), OptionsWidget_soundGeneral::soundFillBox(), and OptionsWidget_soundGeneral::soundTest().
bool KviModuleManager::hasLockedModules |
( |
| ) |
|
QString& KviModuleManager::lastError |
( |
| ) |
|
|
inline |
bool KviModuleManager::loadModule |
( |
const QString & |
modName | ) |
|
References __tr2qs, _OUTPUT_VERBOSE, KviQString::appendFormatted(), KviFileUtils::fileExists(), findModule(), KviMainWindow::firstConsole(), g_pApp, g_pMainWindow, KviApplication::getGlobalKvircDirectory(), KviApplication::getLocalKvircDirectory(), _KviModuleInfo::init_routine, KviPointerHashTable< Key, T >::insert(), KviLocale::instance(), KVI_OPTION_BOOL, KVI_OPTION_UINT, KVI_OUT_VERBOSE, kvi_strEqualCS(), KVI_VERSION, KviApplication::kviClosingDown(), KviOption_boolCleanupUnusedModules, KviOption_boolIgnoreModuleVersions, KviOption_uintModuleCleanupTimerInterval, KVIRC_MODULE_STRUCTURE_SYMBOL, KviLocale::loadCatalogue(), KviApplication::Locale, m_pCleanupTimer, m_pModuleDict, m_szLastError, KviApplication::Modules, KviWindow::output(), KviKvsModuleInterface::registerDefaultCommands(), _KviModuleInfo::szKVIrcVersion, _KviModuleInfo::szModuleContext, and KviLocale::unloadCatalogue().
Referenced by getModule(), and system_kvs_fnc_checkModule().
void KviModuleManager::loadModulesByCaps |
( |
const QString & |
caps, |
|
|
const QString & |
dir |
|
) |
| |
References KviQString::cutToLast(), d, getModule(), and KVI_PATH_SEPARATOR_CHAR.
Referenced by KviModuleExtensionManager::allocateExtension(), KviModuleExtensionManager::allocateExtensionGetDescriptorList(), KviStatusBar::appletsPopupAboutToShow(), KviModuleExtensionManager::getExtensionList(), OptionsWidget_servers::importPopupAboutToShow(), OptionsWidget_servers::importPopupActivated(), IrcServerDetailsWidget::IrcServerDetailsWidget(), KviActionManager::loadAllAvailableActions(), loadModulesByCaps(), and window_kvs_cmd_setCryptEngine().
void KviModuleManager::loadModulesByCaps |
( |
const QString & |
caps | ) |
|
void KviModuleManager::moduleAboutToUnload |
( |
KviModule * |
m | ) |
|
|
signal |
void KviModuleManager::unloadAllModules |
( |
| ) |
|
bool KviModuleManager::unloadModule |
( |
const QString & |
modName | ) |
|
bool KviModuleManager::unloadModule |
( |
KviModule * |
module | ) |
|
References __tr2qs, _OUTPUT_VERBOSE, _KviModuleInfo::cleanup_routine, KviMainWindow::firstConsole(), g_pApp, g_pMainWindow, KviModule::handle(), KviLocale::instance(), KviPointerHashTable< Key, T >::isEmpty(), KVI_OUT_VERBOSE, KviApplication::kviClosingDown(), m_pCleanupTimer, m_pModuleDict, moduleAboutToUnload(), KviModule::moduleInfo(), KviModule::name(), KviWindow::output(), KviPointerHashTable< Key, T >::remove(), and KviLocale::unloadCatalogue().
QTimer* KviModuleManager::m_pCleanupTimer |
|
private |
QString KviModuleManager::m_szLastError |
|
private |
The documentation for this class was generated from the following files: