vdr
1.7.27
|
Public Member Functions | |
cMenuTimers (void) | |
virtual | ~cMenuTimers () |
virtual void | Display (void) |
virtual eOSState | ProcessKey (eKeys Key) |
Private Member Functions | |
eOSState | Commands (eKeys Key=kNone) |
eOSState | Edit (void) |
eOSState | New (void) |
eOSState | Delete (void) |
eOSState | OnOff (void) |
eOSState | Info (void) |
cTimer * | CurrentTimer (void) |
void | SetHelpKeys (void) |
void | ActualiseDiskStatus (void) |
Private Attributes | |
int | helpKeys |
bool | actualiseDiskStatus |
cMenuTimers::cMenuTimers | ( | void | ) |
Definition at line 1175 of file menu.c.
References actualiseDiskStatus, cOsdMenu::Add(), cList< cOsdItem >::First(), cList< T >::First(), helpKeys, cTimers::IncBeingEdited(), cList< T >::Next(), cOsdMenu::SetCurrent(), SetHelpKeys(), cListBase::Sort(), and Timers.
cMenuTimers::~cMenuTimers | ( | ) | [virtual] |
Definition at line 1190 of file menu.c.
References cTimers::DecBeingEdited(), and Timers.
void cMenuTimers::ActualiseDiskStatus | ( | void | ) | [private] |
Definition at line 1332 of file menu.c.
References cTimerEntry::active(), actualiseDiskStatus, cListBase::Add(), cListBase::Count(), cTimer::DayMatches(), dsyslog, cTimerEntry::duration(), cList< T >::First(), cList< cOsdItem >::First(), cTimer::IncDay(), cTimerEntry::isDummy(), max(), MB_PER_MINUTE, cList< T >::Next(), cList< cOsdItem >::Next(), cTimerEntry::repTimer(), cTimerEntry::SetDiskStatus(), cListBase::Sort(), cTimerEntry::startTime(), cOsdMenu::status, cTimerEntry::Timer(), and VideoDiskSpace().
Referenced by Display().
eOSState cMenuTimers::Commands | ( | eKeys | Key = kNone | ) | [private] |
Definition at line 1277 of file menu.c.
References cOsdMenu::AddSubMenu(), cTimer::Channel(), CHECK_2PTR_NULL, cListBase::Count(), CurrentTimer(), cTimer::Event(), cTimer::File(), cRecording::FileName(), cRecordings::GetByName(), cChannel::GetChannelID(), cOsdMenu::HasSubMenu(), cListObject::Index(), isyslog, kNone, cRecordings::Load(), osContinue, cMenuCommands::ProcessKey(), Recordings, cTimers::SetEvents(), cEvent::ShortText(), cTimer::StartTime(), cTimer::StopTime(), TimerCommands, Timers, cEvent::Title(), tChannelID::ToString(), and tr.
Referenced by ProcessKey().
cTimer * cMenuTimers::CurrentTimer | ( | void | ) | [private] |
Definition at line 1195 of file menu.c.
References cOsdMenu::Current(), cList< cOsdItem >::Get(), and cMenuTimerItem::Timer().
Referenced by Commands(), Delete(), Edit(), Info(), OnOff(), and SetHelpKeys().
eOSState cMenuTimers::Delete | ( | void | ) | [private] |
Definition at line 1251 of file menu.c.
References cInterface::Confirm(), cOsdMenu::Current(), CurrentTimer(), cOsdMenu::Del(), cTimers::Del(), Display(), Interface, isyslog, osContinue, cRecordControls::Process(), cTimer::Recording(), cTimers::SetModified(), cTimer::Skip(), Timers, cTimer::ToDescr(), and tr.
Referenced by ProcessKey().
void cMenuTimers::Display | ( | void | ) | [virtual] |
Reimplemented from cOsdMenu.
Definition at line 1387 of file menu.c.
References ActualiseDiskStatus().
Referenced by Delete(), OnOff(), and ProcessKey().
eOSState cMenuTimers::Edit | ( | void | ) | [private] |
Definition at line 1236 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), CurrentTimer(), cOsdMenu::HasSubMenu(), isyslog, and osContinue.
Referenced by ProcessKey().
eOSState cMenuTimers::Info | ( | void | ) | [private] |
Definition at line 1322 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), CurrentTimer(), cTimer::Event(), cOsdMenu::HasSubMenu(), and osContinue.
Referenced by ProcessKey().
eOSState cMenuTimers::New | ( | void | ) | [private] |
Definition at line 1244 of file menu.c.
References cOsdMenu::AddSubMenu(), cOsdMenu::HasSubMenu(), and osContinue.
Referenced by ProcessKey().
eOSState cMenuTimers::OnOff | ( | void | ) | [private] |
Definition at line 1217 of file menu.c.
References CurrentTimer(), Display(), cTimer::FirstDay(), cTimer::HasFlags(), cOsdMenu::HasSubMenu(), isyslog, cTimer::OnOff(), osContinue, cTimer::PrintFirstDay(), cOsdMenu::RefreshCurrent(), cTimer::SetEventFromSchedule(), cTimers::SetModified(), tfActive, Timers, and cTimer::ToDescr().
Referenced by ProcessKey().
eOSState cMenuTimers::ProcessKey | ( | eKeys | Key | ) | [virtual] |
Reimplemented from cOsdMenu.
Definition at line 1393 of file menu.c.
References actualiseDiskStatus, cOsdMenu::Add(), Commands(), cListBase::Count(), Delete(), Display(), Edit(), cList< T >::Get(), cOsdMenu::HasSubMenu(), Info(), k0, k1, kBlue, kGreen, kInfo, kNone, kOk, kRed, kYellow, New(), OnOff(), osContinue, osUnknown, SetHelpKeys(), cListBase::Sort(), TimerCommands, and Timers.
void cMenuTimers::SetHelpKeys | ( | void | ) | [private] |
Definition at line 1201 of file menu.c.
References CurrentTimer(), cTimer::Event(), helpKeys, cOsdMenu::SetHelp(), and tr.
Referenced by cMenuTimers(), and ProcessKey().
bool cMenuTimers::actualiseDiskStatus [private] |
Definition at line 1167 of file menu.c.
Referenced by ActualiseDiskStatus(), cMenuTimers(), and ProcessKey().
int cMenuTimers::helpKeys [private] |
Definition at line 1158 of file menu.c.
Referenced by cMenuTimers(), and SetHelpKeys().