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 &, const QString &)
virtual ~MythPlugin ()
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 enabled
int position
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 

Definition at line 23 of file mythplugin.cpp.

◆ ~MythPlugin()

MythPlugin::~MythPlugin ( )

Definition at line 30 of file mythplugin.cpp.

Member Function Documentation

◆ init()

int MythPlugin::init ( const char *  libversion)

Definition at line 37 of file mythplugin.cpp.

◆ run()

int MythPlugin::run ( void  )

Definition at line 59 of file mythplugin.cpp.

◆ config()

int MythPlugin::config ( void  )

Definition at line 72 of file mythplugin.cpp.

◆ type()

MythPluginType MythPlugin::type ( void  )

Definition at line 89 of file mythplugin.cpp.

◆ destroy()

void MythPlugin::destroy ( void  )

Definition at line 100 of file mythplugin.cpp.

◆ isEnabled()

bool MythPlugin::isEnabled ( )

Definition at line 41 of file mythplugin.h.

◆ setEnabled()

void MythPlugin::setEnabled ( bool  enable)

Definition at line 42 of file mythplugin.h.

◆ getPosition()

int MythPlugin::getPosition ( )

Definition at line 44 of file mythplugin.h.

◆ setPosition()

void MythPlugin::setPosition ( int  pos)

Definition at line 45 of file mythplugin.h.

◆ getName()

QString MythPlugin::getName ( void  )

Definition at line 47 of file mythplugin.h.

Member Data Documentation

◆ enabled

bool MythPlugin::enabled

Definition at line 50 of file mythplugin.h.

Referenced by isEnabled(), MythPlugin(), and setEnabled().

◆ position

int MythPlugin::position

Definition at line 51 of file mythplugin.h.

Referenced by getPosition(), MythPlugin(), and setPosition().

◆ m_plugName

QString MythPlugin::m_plugName

Definition at line 52 of file mythplugin.h.

Referenced by getName().

◆ m_features

QStringList MythPlugin::m_features

Definition at line 53 of file mythplugin.h.

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