#include <upnp.h>
Public Member Functions | |
virtual const char * | Version (void) |
virtual const char * | Description (void) |
virtual const char * | CommandLineHelp (void) |
virtual bool | ProcessArgs (int argc, char *argv[]) |
virtual bool | Initialize (void) |
virtual bool | Start (void) |
virtual void | Stop (void) |
virtual cString | Active (void) |
virtual cMenuSetupPage * | SetupMenu (void) |
virtual bool | SetupParse (const char *Name, const char *Value) |
Static Public Member Functions | |
static const char * | getConfigDirectory () |
This is a UPnP/DLNA media server plugin. It supports live-TV and recordings of the VDR as well as custom video files.
cString cPluginUpnp::Active | ( | void | ) | [virtual] |
Message if still active
This returns a message if the plugin is still active when a user attempts to shut down the VDR.
const char * cPluginUpnp::CommandLineHelp | ( | void | ) | [virtual] |
Get the command line help
This returns the command line help output, which comes, when the user types --help
into the command line.
const char * cPluginUpnp::Description | ( | void | ) | [virtual] |
Get the description
This returns a brief description of the plugin and what it does.
const char * cPluginUpnp::getConfigDirectory | ( | ) | [static] |
Get the configuration directory
This returns the directory, where configuration files are stored.
bool cPluginUpnp::Initialize | ( | void | ) | [virtual] |
Initializes the plugin
This initializes any background activities of the plugin.
true
, if initializing was successfulfalse
, otherwise bool cPluginUpnp::ProcessArgs | ( | int | argc, | |
char * | argv[] | |||
) | [virtual] |
Processes the commandline arguments
This processes the commandline arguments which the user specified at the start of the plugin.
true
, if processing was successfulfalse
, otherwise argc | the number of arguments in the list | |
argv | the arguments as a char array |
cMenuSetupPage * cPluginUpnp::SetupMenu | ( | void | ) | [virtual] |
Setup menu
This creates a new instance of the setup menu, which is shown to the user when he enters the VDR plugin setup menu
bool cPluginUpnp::SetupParse | ( | const char * | Name, | |
const char * | Value | |||
) | [virtual] |
Parse setup variable
This parses the setup variable with the according value. The value is a string representation and must be converted into the according data type.
true
, if parsing was successfulfalse
, otherwise Name | the name of the variable | |
Value | the according value of the variable |
bool cPluginUpnp::Start | ( | void | ) | [virtual] |
Starts the plugin
This starts the plugin. It starts additional threads, which are required by the plugin.
true
, if starting was successfulfalse
, otherwise void cPluginUpnp::Stop | ( | void | ) | [virtual] |
Stops the plugin
This stops the plugin and all its components
const char * cPluginUpnp::Version | ( | void | ) | [virtual] |
Get the version of the plugin
Returns the version string of the plugin