8 #include <vdr/plugin.h> 9 #include <vdr/shutdown.h> 28 virtual void Stop(
void);
38 : mIsUserInactive(true)
50 return " -o --outputonly do not receive, just use as output device\n";
55 static struct option long_options[] = {
56 {
"outputonly", no_argument, NULL,
'o' },
57 { NULL, no_argument, NULL, 0 }
61 while ((c = getopt_long(argc, argv,
"o", long_options, NULL)) != -1) {
65 default:
return false;
96 isyslog(
"HDFF_CEC_COMMAND_TV_OFF");
109 return hdffCmdIf ?
new cHdffMenu(hdffCmdIf) : NULL;
virtual const char * Version(void)
void CmdHdmiSendCecCommand(HdffCecCommand_t Command)
bool IsUserInactive(time_t AtTime=0)
Check whether VDR is in interactive mode or non-interactive mode (waiting for shutdown).
virtual cOsdObject * MainMenuAction(void)
static const char * DESCRIPTION
VDRPLUGINCREATOR(cPluginDvbhddevice)
static const char * MAINMENUENTRY
virtual const char * CommandLineHelp(void)
virtual const char * Description(void)
virtual cMenuSetupPage * SetupMenu(void)
void SetOutputOnly(bool On)
cShutdownHandler ShutdownHandler
virtual bool SetupParse(const char *Name, const char *Value)
cDvbHdFfDeviceProbe * probe
static const char * VERSION
virtual bool ProcessArgs(int argc, char *argv[])
static HDFF::cHdffCmdIf * GetHdffCmdHandler(void)
bool SetupParse(const char *Name, const char *Value)
virtual const char * MainMenuEntry(void)
virtual ~cPluginDvbhddevice()
virtual void MainThreadHook(void)