17#include <vdr/player.h>
18#include <vdr/plugin.h>
232 "PLAY Url\n" " Play the media from the given url.\n",
233 "DETA\n" " Detach the plugin.\n",
234 "ATTA\n" " Attach the plugin.\n",
235 "STAT\n" " Get attached/detached status.\n"
237 " DETACHED -> 911\n",
238 "PION\n" " Enable picture-in-picture.\n",
239 "PIOF\n" " Disable picture-in-picture.\n",
240 "PITO\n" " Toggle picture-in-picture.\n",
241 "PIPU\n" " Pip channel up.\n",
242 "PIPD\n" " Pip channel down.\n",
243 "PIPC\n" " Pip swap channels.\n",
244 "PIPS\n" " Pip switch main stream to pip channel and close pip.\n",
245 "PIIP\n" " Pip swap positions.\n",
280 return "SoftHdDevice is already detached";
283 return "Detached SoftHdDevice";
288 return "SoftHdDevice is not detached";
291 return "Attached SoftHdDevice";
297 return "SoftHdDevice is attached";
300 return "SoftHdDevice is detached";
309 return "Pip is already enabled";
312 return "Pip was enabled";
317 return "Pip isn't enabled";
320 return "Pip was disabled";
326 return "Pip was enabled";
329 return "Pip was disabled";
335 return "Pip isn't enabled";
338 return "Pip channel up";
343 return "Pip isn't enabled";
346 return "Pip channel down";
351 return "Pip isn't enabled";
354 return "Pip swap channels";
359 return "Pip isn't enabled";
362 return "Pip switch main stream to pip channel and close pip";
367 return "Pip isn't enabled";
370 return "Pip swap position";
cSoftHdConfig * m_pConfig
pointer to cSoftHdConfig object
cSoftHdDevice * m_pDevice
pointer to cSoftHdDevice object
bool ConfigHideMainMenuEntry
config hide main menu entry
Output Device Implementation.
Plugin Configuration Header File.
bool SetupParse(const char *, const char *)
Parse setup parameters.
void Stop(void)
Called by VDR when the plugin is stopped.
void PipChannelSwap(bool)
void PipSwapPosition(void)
int Start(void)
Called by VDR when the plugin is started.
void Detach(void)
Detach the device.
const char * CommandLineHelp(void)
Return command line help string.
bool IsDetached(void) const
Returns true, if the device is detached.
bool PipIsEnabled(void)
Returns true, if pip is currently enabled.
int ProcessArgs(int, char *[])
Process the command line arguments.
void PipChannelChange(int)
void Attach(void)
Attach the device again.
#define LOGDEBUG2
log to LOG_DEBUG and add a prefix
#define LOGDEBUG
log to LOG_DEBUG
@ L_MEDIA
mediaplayer logs
virtual void Stop(void)
Shutdown plugin.
static cSoftHdMenu * pSoftHdMenu
virtual const char * CommandLineHelp(void)
Return a string that describes all known command line options.
virtual cMenuSetupPage * SetupMenu(void)
Return our setup menu.
static const char *const DESCRIPTION
vdr-plugin description.
static const char * SVDRPHelpText[]
SVDRP commands help text.
virtual bool SetupParse(const char *, const char *)
Parse setup parameters.
virtual cOsdObject * MainMenuAction(void)
Perform the action when selected from the main VDR menu.
static const char *const MAINMENUENTRY
what is displayed in the main menu entry
virtual const char * Description(void)
Return plugin short description.
cPluginSoftHdDevice(void)
cPluginSoftHdDevice constructor
virtual bool Start(void)
Start any background activities the plugin shall perform.
virtual const char ** SVDRPHelpPages(void)
Return SVDRP commands help pages.
static const char *const VERSION
vdr-plugin version number Makefile extracts the version number for generating the file name for the d...
virtual ~cPluginSoftHdDevice(void)
cPluginSoftHdDevice destructor
virtual bool Initialize(void)
Initializes the DVB devices.
virtual bool ProcessArgs(int, char *[])
Process the command line arguments.
virtual const char * Version(void)
Return plugin version number.
virtual const char * MainMenuEntry(void)
Create main menu entry.
virtual cString SVDRPCommand(const char *, const char *, int &)
Handle SVDRP commands.
virtual bool Service(const char *, void *=nullptr)
Receive requests or messages.
VDRPLUGINCREATOR(cPluginSoftHdDevice)
Main Plugin Interface Header File.
Output Device Header File.