MythTV  master
Public Member Functions | Private Attributes | List of all members
MythPluginManager Class Reference

#include <mythplugin.h>

Public Member Functions

 MythPluginManager ()
 
 ~MythPluginManager ()=default
 
bool init_plugin (const QString &plugname)
 
bool run_plugin (const QString &plugname)
 
bool config_plugin (const QString &plugname)
 
bool destroy_plugin (const QString &plugname)
 
MythPluginGetPlugin (const QString &plugname)
 
QStringList EnumeratePlugins (void)
 
void DestroyAllPlugins ()
 

Private Attributes

QHash< QString, MythPlugin * > m_dict
 
QMap< QString, MythPlugin * > m_moduleMap
 

Detailed Description

Definition at line 58 of file mythplugin.h.

Constructor & Destructor Documentation

◆ MythPluginManager()

MythPluginManager::MythPluginManager ( )

Definition at line 95 of file mythplugin.cpp.

◆ ~MythPluginManager()

MythPluginManager::~MythPluginManager ( )
default

Member Function Documentation

◆ init_plugin()

bool MythPluginManager::init_plugin ( const QString &  plugname)

Definition at line 132 of file mythplugin.cpp.

◆ run_plugin()

bool MythPluginManager::run_plugin ( const QString &  plugname)

Definition at line 166 of file mythplugin.cpp.

Referenced by main(), and plugin_cb().

◆ config_plugin()

bool MythPluginManager::config_plugin ( const QString &  plugname)

Definition at line 184 of file mythplugin.cpp.

Referenced by configplugin_cb().

◆ destroy_plugin()

bool MythPluginManager::destroy_plugin ( const QString &  plugname)

Definition at line 201 of file mythplugin.cpp.

◆ GetPlugin()

MythPlugin * MythPluginManager::GetPlugin ( const QString &  plugname)

Definition at line 217 of file mythplugin.cpp.

Referenced by MythThemedMenu::findDepends().

◆ EnumeratePlugins()

QStringList MythPluginManager::EnumeratePlugins ( void  )

Definition at line 240 of file mythplugin.cpp.

Referenced by main().

◆ DestroyAllPlugins()

void MythPluginManager::DestroyAllPlugins ( void  )

Definition at line 227 of file mythplugin.cpp.

Referenced by main().

Member Data Documentation

◆ m_dict

QHash<QString,MythPlugin*> MythPluginManager::m_dict
private

Definition at line 75 of file mythplugin.h.

◆ m_moduleMap

QMap<QString, MythPlugin *> MythPluginManager::m_moduleMap
private

Definition at line 77 of file mythplugin.h.


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