vdr
1.7.27
|
#include <menu.h>
Static Public Member Functions | |
static bool | Start (cTimer *Timer=NULL, bool Pause=false) |
static void | Stop (const char *InstantId) |
static bool | PauseLiveVideo (void) |
static const char * | GetInstantId (const char *LastInstantId) |
static cRecordControl * | GetRecordControl (const char *FileName) |
static void | Process (time_t t) |
static void | ChannelDataModified (cChannel *Channel) |
static bool | Active (void) |
static void | Shutdown (void) |
static void | ChangeState (void) |
static bool | StateChanged (int &State) |
static bool | Start (cTimer *Timer=NULL, bool Pause=false) |
static void | Stop (const char *InstantId) |
static bool | PauseLiveVideo (void) |
static const char * | GetInstantId (const char *LastInstantId) |
static cRecordControl * | GetRecordControl (const char *FileName) |
static void | Process (time_t t) |
static void | ChannelDataModified (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 |
Definition at line 238 of file include/vdr/menu.h.
bool cRecordControls::Active | ( | void | ) | [static] |
Definition at line 4835 of file menu.c.
References MAXRECORDCONTROLS, and RecordControls.
Referenced by cShutdownHandler::ConfirmRestart(), cShutdownHandler::ConfirmShutdown(), main(), and cSkinSTTNGDisplayChannel::SetChannel().
static bool cRecordControls::Active | ( | void | ) | [static] |
static void cRecordControls::ChangeState | ( | void | ) | [inline, static] |
Definition at line 252 of file include/vdr/menu.h.
References state.
Referenced by ChannelDataModified(), Process(), Shutdown(), Start(), and Stop().
static void cRecordControls::ChangeState | ( | void | ) | [inline, static] |
static void cRecordControls::ChannelDataModified | ( | cChannel * | Channel | ) | [static] |
void cRecordControls::ChannelDataModified | ( | cChannel * | Channel | ) | [static] |
Definition at line 4818 of file menu.c.
References ChangeState(), isyslog, MAXRECORDCONTROLS, cChannel::Number(), RecordControls, and cRecordControl::Stop().
Referenced by main().
const char * cRecordControls::GetInstantId | ( | const char * | LastInstantId | ) | [static] |
Definition at line 4782 of file menu.c.
References cRecordControl::InstantId(), MAXRECORDCONTROLS, and RecordControls.
Referenced by cMenuMain::Update().
static const char* cRecordControls::GetInstantId | ( | const char * | LastInstantId | ) | [static] |
static cRecordControl* cRecordControls::GetRecordControl | ( | const char * | FileName | ) | [static] |
cRecordControl * cRecordControls::GetRecordControl | ( | const char * | FileName | ) | [static] |
Definition at line 4795 of file menu.c.
References MAXRECORDCONTROLS, and RecordControls.
Referenced by cSVDRP::CmdDELR(), cRecordControl::cRecordControl(), cMenuRecordings::Delete(), cReplayControl::ProcessKey(), and cReplayControl::Stop().
bool cRecordControls::PauseLiveVideo | ( | void | ) | [static] |
Definition at line 4767 of file menu.c.
References cControl::Attach(), cControl::Launch(), cSkins::Message(), mtStatus, cReplayControl::SetRecording(), Skins, Start(), and tr.
Referenced by main().
static bool cRecordControls::PauseLiveVideo | ( | void | ) | [static] |
static void cRecordControls::Process | ( | time_t | t | ) | [static] |
void cRecordControls::Process | ( | time_t | t | ) | [static] |
Definition at line 4806 of file menu.c.
References ChangeState(), DELETENULL(), MAXRECORDCONTROLS, and RecordControls.
Referenced by cMenuRecordings::Delete(), cMenuTimers::Delete(), and main().
static void cRecordControls::Shutdown | ( | void | ) | [static] |
void cRecordControls::Shutdown | ( | void | ) | [static] |
Definition at line 4844 of file menu.c.
References ChangeState(), DELETENULL(), MAXRECORDCONTROLS, and RecordControls.
Referenced by main().
static bool cRecordControls::Start | ( | cTimer * | Timer = NULL , |
bool | Pause = false |
||
) | [static] |
bool cRecordControls::Start | ( | cTimer * | Timer = NULL , |
bool | Pause = false |
||
) | [static] |
Definition at line 4696 of file menu.c.
References AssertFreeDiskSpace(), ChangeState(), cTimer::Channel(), Channels, cDevice::CurrentChannel(), cSetup::DefaultPriority, cDevice::DeviceNumber(), dsyslog, esyslog, cChannels::GetByNumber(), cDevice::GetDevice(), isyslog, cTimer::Matches(), MAXRECORDCONTROLS, cSkins::Message(), MINFREEDISK, mtError, mtWarning, NODISKSPACEDELTA, cChannel::Number(), cSetup::PausePriority, cTimer::Pending(), cTimer::Priority(), cRecordControl::Process(), RecordControls, cShutdownHandler::RequestEmergencyExit(), cTimer::SetPending(), Setup, ShutdownHandler, Skins, cDevice::SwitchChannel(), cTimer::ToDescr(), tr, and VideoDiskSpace().
Referenced by main(), and PauseLiveVideo().
static bool cRecordControls::StateChanged | ( | int & | State | ) | [static] |
bool cRecordControls::StateChanged | ( | int & | State | ) | [static] |
void cRecordControls::Stop | ( | const char * | InstantId | ) | [static] |
Definition at line 4747 of file menu.c.
References ChangeState(), cTimers::Del(), cRecordControl::InstantId(), isyslog, MAXRECORDCONTROLS, RecordControls, cTimers::SetModified(), cRecordControl::Stop(), cRecordControl::Timer(), Timers, and cTimer::ToDescr().
Referenced by cMenuMain::ProcessKey().
static void cRecordControls::Stop | ( | const char * | InstantId | ) | [static] |
static cRecordControl * cRecordControls::RecordControls = { NULL } [static, private] |
Definition at line 240 of file include/vdr/menu.h.
Referenced by Active(), ChannelDataModified(), GetInstantId(), GetRecordControl(), Process(), Shutdown(), Start(), and Stop().
static int cRecordControls::state = 0 [static, private] |
Definition at line 241 of file include/vdr/menu.h.
Referenced by ChangeState(), and StateChanged().