KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
KviKvsScriptAddonManager Class Reference

#include <KviKvsScriptAddonManager.h>

Public Member Functions

KviPointerHashTable< QString,
KviKvsScriptAddon > * 
addonDict ()
 
void clear ()
 
KviKvsScriptAddonfindAddon (const QString &szName)
 
 KviKvsScriptAddonManager ()
 
void load (const QString &szFileName)
 
bool registerAddon (KviKvsScriptAddonRegistrationData *d)
 
void save (const QString &szFileName)
 
bool unregisterAddon (const QString &szName, KviWindow *pWnd, bool bExecuteUninstallCallback=true, bool bUninstallFiles=true)
 
 ~KviKvsScriptAddonManager ()
 

Static Public Member Functions

static void done ()
 
static void init ()
 
static KviKvsScriptAddonManagerinstance ()
 

Protected Member Functions

void delayedLoad ()
 

Protected Attributes

bool m_bLoaded
 
KviPointerHashTable< QString,
KviKvsScriptAddon > * 
m_pAddonDict
 
QString m_szFileName
 

Static Protected Attributes

static KviKvsScriptAddonManagerm_pInstance = nullptr
 

Constructor & Destructor Documentation

KviKvsScriptAddonManager::KviKvsScriptAddonManager ( )
KviKvsScriptAddonManager::~KviKvsScriptAddonManager ( )

References m_pAddonDict.

Member Function Documentation

KviPointerHashTable< QString, KviKvsScriptAddon > * KviKvsScriptAddonManager::addonDict ( )
void KviKvsScriptAddonManager::clear ( )
void KviKvsScriptAddonManager::delayedLoad ( )
protected
void KviKvsScriptAddonManager::done ( )
static

References instance().

Referenced by KviKvs::done().

KviKvsScriptAddon * KviKvsScriptAddonManager::findAddon ( const QString &  szName)
void KviKvsScriptAddonManager::init ( )
static

References instance(), and KviKvsScriptAddonManager().

Referenced by KviKvs::init().

static KviKvsScriptAddonManager* KviKvsScriptAddonManager::instance ( )
inlinestatic
void KviKvsScriptAddonManager::load ( const QString &  szFileName)

References m_bLoaded, and m_szFileName.

Referenced by KviKvs::loadScriptAddons().

bool KviKvsScriptAddonManager::registerAddon ( KviKvsScriptAddonRegistrationData d)
void KviKvsScriptAddonManager::save ( const QString &  szFileName)
bool KviKvsScriptAddonManager::unregisterAddon ( const QString &  szName,
KviWindow pWnd,
bool  bExecuteUninstallCallback = true,
bool  bUninstallFiles = true 
)

Member Data Documentation

bool KviKvsScriptAddonManager::m_bLoaded
protected
KviPointerHashTable<QString, KviKvsScriptAddon>* KviKvsScriptAddonManager::m_pAddonDict
protected
KviKvsScriptAddonManager * KviKvsScriptAddonManager::m_pInstance = nullptr
staticprotected
QString KviKvsScriptAddonManager::m_szFileName
protected

Referenced by delayedLoad(), load(), and save().


The documentation for this class was generated from the following files: