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, const QString &plugname)
 
virtual ~MythPlugin ()=default
 
int init (const char *libversion)
 
int run (void)
 
int config (void)
 
MythPluginType type (void)
 
void destroy (void)
 
bool isEnabled ()
 
void setEnabled (bool enable)
 
int getPosition ()
 
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 18 of file mythplugin.h.

Constructor & Destructor Documentation

◆ MythPlugin()

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

Definition at line 21 of file mythplugin.h.

◆ ~MythPlugin()

virtual MythPlugin::~MythPlugin ( )
virtualdefault

Member Function Documentation

◆ init()

int MythPlugin::init ( const char *  libversion)

Definition at line 23 of file mythplugin.cpp.

◆ run()

int MythPlugin::run ( void  )

Definition at line 45 of file mythplugin.cpp.

◆ config()

int MythPlugin::config ( void  )

Definition at line 58 of file mythplugin.cpp.

◆ type()

MythPluginType MythPlugin::type ( void  )

Definition at line 75 of file mythplugin.cpp.

◆ destroy()

void MythPlugin::destroy ( void  )

Definition at line 86 of file mythplugin.cpp.

◆ isEnabled()

bool MythPlugin::isEnabled ( )
inline

Definition at line 42 of file mythplugin.h.

◆ setEnabled()

void MythPlugin::setEnabled ( bool  enable)
inline

Definition at line 43 of file mythplugin.h.

◆ getPosition()

int MythPlugin::getPosition ( )
inline

Definition at line 45 of file mythplugin.h.

◆ setPosition()

void MythPlugin::setPosition ( int  pos)
inline

Definition at line 46 of file mythplugin.h.

◆ getName()

QString MythPlugin::getName ( void  )
inline

Definition at line 48 of file mythplugin.h.

Member Data Documentation

◆ m_enabled

bool MythPlugin::m_enabled {true}
private

Definition at line 51 of file mythplugin.h.

Referenced by isEnabled(), and setEnabled().

◆ m_position

int MythPlugin::m_position {0}
private

Definition at line 52 of file mythplugin.h.

Referenced by getPosition(), and setPosition().

◆ m_plugName

QString MythPlugin::m_plugName
private

Definition at line 53 of file mythplugin.h.

Referenced by getName().

◆ m_features

QStringList MythPlugin::m_features
private

Definition at line 54 of file mythplugin.h.


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