vdr
2.6.1
|
#include <menu.h>
Static Public Member Functions | |
static bool | Start (cTimers *Timers, cTimer *Timer, bool Pause=false) |
static bool | Start (bool Pause=false) |
static void | Stop (const char *InstantId) |
static void | Stop (cTimer *Timer) |
static bool | PauseLiveVideo (void) |
static const char * | GetInstantId (const char *LastInstantId) |
static cRecordControl * | GetRecordControl (const char *FileName) |
static cRecordControl * | GetRecordControl (const cTimer *Timer) |
static bool | Process (cTimers *Timers, time_t t) |
static void | ChannelDataModified (const cChannel *Channel) |
static bool | Active (void) |
static void | Shutdown (void) |
static void | ChangeState (void) |
static bool | StateChanged (int &State) |
Static Private Attributes | |
static cRecordControl * | RecordControls [] = { NULL } |
static int | state = 0 |
|
static |
Definition at line 5712 of file menu.c.
References MAXRECORDCONTROLS, and RecordControls.
Referenced by cShutdownHandler::ConfirmRestart(), cShutdownHandler::ConfirmShutdown(), main(), cSkinLCARSDisplayChannel::SetChannel(), and cSkinSTTNGDisplayChannel::SetChannel().
|
inlinestatic |
Definition at line 277 of file menu.h.
References state.
Referenced by ChannelDataModified(), Process(), Shutdown(), Start(), and Stop().
|
static |
Definition at line 5695 of file menu.c.
References ChangeState(), isyslog, MAXRECORDCONTROLS, cChannel::Name(), cChannel::Number(), RecordControls, and cRecordControl::Stop().
Referenced by main().
|
static |
Definition at line 5647 of file menu.c.
References cRecordControl::InstantId(), MAXRECORDCONTROLS, and RecordControls.
Referenced by cMenuMain::Update().
|
static |
Definition at line 5660 of file menu.c.
References MAXRECORDCONTROLS, and RecordControls.
Referenced by cRecordControl::cRecordControl(), cSkinLCARSDisplayMenu::DrawTimers(), cRecording::IsInUse(), RecordingInUseMessage(), cReplayControl::Stop(), and TimerStillRecording().
|
static |
Returns the cRecordControl for the given Timer.
If there is no cRecordControl for Timer, NULL is returned.
Definition at line 5671 of file menu.c.
References MAXRECORDCONTROLS, and RecordControls.
|
static |
Definition at line 5632 of file menu.c.
References cControl::Attach(), cControl::Launch(), cSkins::Message(), mtStatus, cReplayControl::SetRecording(), Skins, Start(), and tr.
Referenced by main().
|
static |
Definition at line 5680 of file menu.c.
References ChangeState(), DELETENULL(), MAXRECORDCONTROLS, and RecordControls.
Referenced by cSVDRPServer::CmdDELT(), cMenuTimers::Delete(), main(), and TimerStillRecording().
|
static |
Definition at line 5721 of file menu.c.
References ChangeState(), DELETENULL(), MAXRECORDCONTROLS, and RecordControls.
Referenced by main().
|
static |
Definition at line 5593 of file menu.c.
References LOCK_TIMERS_WRITE, and Start().
Definition at line 5537 of file menu.c.
References AssertFreeDiskSpace(), ChangeState(), cTimer::Channel(), cDevice::CurrentChannel(), cSetup::DefaultPriority, cDevice::DeviceNumber(), dsyslog, esyslog, cChannels::GetByNumber(), cChannels::GetChannelsRead(), cDevice::GetDevice(), isyslog, cTimer::Matches(), MAXRECORDCONTROLS, cSkins::Message(), MINFREEDISK, mtError, mtWarning, NODISKSPACEDELTA, cChannel::Number(), cSetup::PausePriority, cTimer::Pending(), cTimer::Priority(), cRecordControl::Process(), RecordControls, cStateKey::Remove(), cShutdownHandler::RequestEmergencyExit(), cTimer::SetPending(), Setup, ShutdownHandler, Skins, cDevice::SwitchChannel(), cTimer::ToDescr(), tr, and cVideoDirectory::VideoDiskSpace().
Referenced by main(), PauseLiveVideo(), and Start().
|
static |
|
static |
Definition at line 5599 of file menu.c.
References ChangeState(), cRecordControl::InstantId(), isyslog, LOCK_TIMERS_WRITE, MAXRECORDCONTROLS, RecordControls, cRecordControl::Stop(), cRecordControl::Timer(), and cTimer::ToDescr().
Referenced by cMenuEditTimer::ProcessKey(), and cMenuMain::ProcessKey().
|
static |
Definition at line 5619 of file menu.c.
References ChangeState(), DELETENULL(), MAXRECORDCONTROLS, and RecordControls.
|
staticprivate |
Definition at line 260 of file menu.h.
Referenced by Active(), ChannelDataModified(), GetInstantId(), GetRecordControl(), Process(), Shutdown(), Start(), and Stop().
|
staticprivate |
Definition at line 261 of file menu.h.
Referenced by ChangeState(), and StateChanged().