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

#include <mythplugin.h>

Inheritance diagram for MythPlugin:
Inheritance graph
Collaboration diagram for MythPlugin:
Collaboration graph

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 

Definition at line 25 of file mythplugin.h.

◆ ~MythPlugin()

MythPlugin::~MythPlugin ( )

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

Definition at line 46 of file mythplugin.h.

◆ setEnabled()

void MythPlugin::setEnabled ( bool  enable)

Definition at line 47 of file mythplugin.h.

◆ getPosition()

int MythPlugin::getPosition ( ) const

Definition at line 49 of file mythplugin.h.

◆ setPosition()

void MythPlugin::setPosition ( int  pos)

Definition at line 50 of file mythplugin.h.

◆ getName()

QString MythPlugin::getName ( void  )

Definition at line 52 of file mythplugin.h.

Member Data Documentation

◆ m_enabled

bool MythPlugin::m_enabled {true}

Definition at line 55 of file mythplugin.h.

Referenced by isEnabled(), and setEnabled().

◆ m_position

int MythPlugin::m_position {0}

Definition at line 56 of file mythplugin.h.

Referenced by getPosition(), and setPosition().

◆ m_plugName

QString MythPlugin::m_plugName

Definition at line 57 of file mythplugin.h.

Referenced by getName().

◆ m_features

QStringList MythPlugin::m_features

Definition at line 58 of file mythplugin.h.

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