mythpluginapi.h File Reference

Go to the source code of this file.

Functions

MPUBLIC int mythplugin_init (const char *)
 Initializes the plugin.
MPUBLIC int mythplugin_run ()
 Runs the plugin.
MPUBLIC int mythplugin_config ()
 Plug-in config handler, does nothing.
MPUBLIC MythPluginType mythplugin_type ()
MPUBLIC void mythplugin_destroy ()
MPUBLIC int mythplugin_setupMenu ()
MPUBLIC void mythplugin_drawMenu (QPainter *painter, int x, int y, int w, int h)


Function Documentation

MPUBLIC int mythplugin_init ( const char *  libversion  ) 

Initializes the plugin.

Parameters:
libversion The mythtv library version.
Returns:
0 if all is well, otherwise -1

Definition at line 521 of file mythplugins/mytharchive/mytharchive/main.cpp.

MPUBLIC int mythplugin_run ( void   ) 

Runs the plugin.

Returns:
0 if all is well, otherwise -1

Definition at line 548 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by handleDVDMedia(), handleMedia(), and handleVCDMedia().

MPUBLIC int mythplugin_config (  ) 

Plug-in config handler, does nothing.

Definition at line 555 of file mythplugins/mytharchive/mytharchive/main.cpp.

MPUBLIC MythPluginType mythplugin_type (  ) 

MPUBLIC void mythplugin_destroy (  ) 

Definition at line 539 of file mythplugins/mythmusic/mythmusic/main.cpp.

MPUBLIC int mythplugin_setupMenu (  ) 

MPUBLIC void mythplugin_drawMenu ( QPainter *  painter,
int  x,
int  y,
int  w,
int  h 
)


Generated on Sat Dec 18 05:15:54 2010 for MythTV by  doxygen 1.5.5