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

#include <mythplugin.h>

Inheritance diagram for MythPlugin:
Inheritance graph
[legend]
Collaboration diagram for MythPlugin:
Collaboration graph
[legend]

Public Member Functions

 MythPlugin (const QString &libname, QString plugname)
 
 ~MythPlugin () override=default
 
int init (const char *libversion)
 
int run (void)
 
int config (void)
 
MythPluginType type (void)
 
void destroy (void)
 
bool isEnabled () const
 
void setEnabled (bool enable)
 
int getPosition () const
 
void setPosition (int pos)
 
QString getName (void)
 

Private Attributes

bool m_enabled {true}
 
int m_position {0}
 
QString m_plugName
 
QStringList m_features
 

Detailed Description

Definition at line 22 of file mythplugin.h.

Constructor & Destructor Documentation

◆ MythPlugin()

MythPlugin::MythPlugin ( const QString &  libname,
QString  plugname 
)
inline

Definition at line 25 of file mythplugin.h.

◆ ~MythPlugin()

MythPlugin::~MythPlugin ( )
overridedefault

Member Function Documentation

◆ init()

int MythPlugin::init ( const char *  libversion)

Definition at line 21 of file mythplugin.cpp.

◆ run()

int MythPlugin::run ( void  )

Definition at line 42 of file mythplugin.cpp.

◆ config()

int MythPlugin::config ( void  )

Definition at line 55 of file mythplugin.cpp.

◆ type()

MythPluginType MythPlugin::type ( void  )

Definition at line 71 of file mythplugin.cpp.

◆ destroy()

void MythPlugin::destroy ( void  )

Definition at line 82 of file mythplugin.cpp.

◆ isEnabled()

bool MythPlugin::isEnabled ( ) const
inline

Definition at line 46 of file mythplugin.h.

◆ setEnabled()

void MythPlugin::setEnabled ( bool  enable)
inline

Definition at line 47 of file mythplugin.h.

◆ getPosition()

int MythPlugin::getPosition ( ) const
inline

Definition at line 49 of file mythplugin.h.

◆ setPosition()

void MythPlugin::setPosition ( int  pos)
inline

Definition at line 50 of file mythplugin.h.

◆ getName()

QString MythPlugin::getName ( void  )
inline

Definition at line 52 of file mythplugin.h.

Member Data Documentation

◆ m_enabled

bool MythPlugin::m_enabled {true}
private

Definition at line 55 of file mythplugin.h.

Referenced by isEnabled(), and setEnabled().

◆ m_position

int MythPlugin::m_position {0}
private

Definition at line 56 of file mythplugin.h.

Referenced by getPosition(), and setPosition().

◆ m_plugName

QString MythPlugin::m_plugName
private

Definition at line 57 of file mythplugin.h.

Referenced by getName().

◆ m_features

QStringList MythPlugin::m_features
private

Definition at line 58 of file mythplugin.h.


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