vdr
1.7.27
|
Public Member Functions | |
cMenuSchedule (void) | |
virtual | ~cMenuSchedule () |
virtual eOSState | ProcessKey (eKeys Key) |
Private Member Functions | |
eOSState | Number (void) |
eOSState | Record (void) |
eOSState | Switch (void) |
void | PrepareScheduleAllThis (const cEvent *Event, const cChannel *Channel) |
void | PrepareScheduleThisThis (const cEvent *Event, const cChannel *Channel) |
void | PrepareScheduleThisAll (const cEvent *Event, const cChannel *Channel) |
void | PrepareScheduleAllAll (const cEvent *Event, const cChannel *Channel) |
bool | Update (void) |
void | SetHelpKeys (void) |
Private Attributes | |
cSchedulesLock | schedulesLock |
const cSchedules * | schedules |
bool | now |
bool | next |
int | otherChannel |
int | helpKeys |
int | timerState |
cMenuSchedule::cMenuSchedule | ( | void | ) |
Definition at line 1739 of file menu.c.
References Channels, cDevice::CurrentChannel(), cChannels::GetByNumber(), helpKeys, cTimers::Modified(), next, now, cChannel::Number(), otherChannel, PrepareScheduleAllThis(), cSchedules::Schedules(), schedules, schedulesLock, cMenuWhatsOn::SetCurrentChannel(), SetHelpKeys(), cMenuScheduleItem::SetSortMode(), cMenuScheduleItem::ssmAllThis, Timers, and timerState.
cMenuSchedule::~cMenuSchedule | ( | ) | [virtual] |
Definition at line 1757 of file menu.c.
References cMenuWhatsOn::ScheduleEvent().
eOSState cMenuSchedule::Number | ( | void | ) | [private] |
Definition at line 1864 of file menu.c.
References cEvent::ChannelID(), Channels, cOsdMenu::Current(), cDevice::CurrentChannel(), cOsdMenu::Display(), esyslog, cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cChannels::GetByNumber(), cMenuScheduleItem::IncSortMode(), osContinue, PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), cOsdMenu::SetCurrent(), cListBase::Sort(), cMenuScheduleItem::SortMode(), cMenuScheduleItem::ssmAllAll, cMenuScheduleItem::ssmAllThis, cMenuScheduleItem::ssmThisAll, and cMenuScheduleItem::ssmThisThis.
Referenced by ProcessKey().
void cMenuSchedule::PrepareScheduleAllAll | ( | const cEvent * | Event, |
const cChannel * | Channel | ||
) | [private] |
Definition at line 1816 of file menu.c.
References cOsdMenu::Add(), Channels, CHNAMWIDTH, CHNUMWIDTH, cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedules::GetSchedule(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, and tr.
Referenced by Number().
void cMenuSchedule::PrepareScheduleAllThis | ( | const cEvent * | Event, |
const cChannel * | Channel | ||
) | [private] |
Definition at line 1762 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedule::GetPresentEvent(), cSchedules::GetSchedule(), cChannel::Name(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cString::sprintf(), and tr.
Referenced by cMenuSchedule(), Number(), and ProcessKey().
void cMenuSchedule::PrepareScheduleThisAll | ( | const cEvent * | Event, |
const cChannel * | Channel | ||
) | [private] |
Definition at line 1797 of file menu.c.
References cOsdMenu::Add(), Channels, CHNAMWIDTH, CHNUMWIDTH, cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedules::GetSchedule(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cEvent::Title(), and tr.
Referenced by Number().
void cMenuSchedule::PrepareScheduleThisThis | ( | const cEvent * | Event, |
const cChannel * | Channel | ||
) | [private] |
Definition at line 1780 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedules::GetSchedule(), cChannel::Name(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cString::sprintf(), cEvent::Title(), and tr.
Referenced by Number().
eOSState cMenuSchedule::ProcessKey | ( | eKeys | Key | ) | [virtual] |
Reimplemented from cOsdMenu.
Definition at line 1933 of file menu.c.
References cOsdMenu::AddSubMenu(), cEvent::ChannelID(), Channels, cListBase::Count(), cOsdMenu::Current(), cDevice::CurrentChannel(), cMenuWhatsOn::CurrentChannel(), cOsdMenu::Display(), cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cOsdMenu::HasSubMenu(), k0, kBlue, kGreen, kInfo, kNone, kOk, kRecord, kRed, kYellow, next, now, cChannel::Number(), Number(), osUnknown, otherChannel, PrepareScheduleAllThis(), Record(), cMenuWhatsOn::ScheduleEvent(), schedules, cOsdMenu::SetHelp(), SetHelpKeys(), cMenuScheduleItem::SetSortMode(), cMenuScheduleItem::ssmAllThis, Switch(), tr, and Update().
eOSState cMenuSchedule::Record | ( | void | ) | [private] |
Definition at line 1890 of file menu.c.
References cTimers::Add(), cOsdMenu::AddSubMenu(), cOsdMenu::CloseSubMenu(), cOsdMenu::Current(), cOsdMenu::Display(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cTimers::GetMatch(), cTimers::GetTimer(), cOsdMenu::HasSubMenu(), isyslog, cTimer::Matches(), NEWTIMERLIMIT, osContinue, SetHelpKeys(), cTimers::SetModified(), cMenuScheduleItem::timerMatch, Timers, tmFull, tmNone, cTimer::ToDescr(), and Update().
Referenced by ProcessKey().
void cMenuSchedule::SetHelpKeys | ( | void | ) | [private] |
Definition at line 1847 of file menu.c.
References cOsdMenu::Current(), cList< cOsdItem >::Get(), helpKeys, cOsdMenu::SetHelp(), cMenuScheduleItem::timerMatch, tmFull, and tr.
Referenced by cMenuSchedule(), ProcessKey(), and Record().
eOSState cMenuSchedule::Switch | ( | void | ) | [private] |
Definition at line 1923 of file menu.c.
References Channels, cSkins::Message(), mtError, osContinue, osEnd, otherChannel, Skins, cChannels::SwitchTo(), and tr.
Referenced by ProcessKey().
bool cMenuSchedule::Update | ( | void | ) | [private] |
Definition at line 1835 of file menu.c.
References cList< cOsdItem >::First(), cTimers::Modified(), cList< cOsdItem >::Next(), Timers, and timerState.
Referenced by ProcessKey(), and Record().
int cMenuSchedule::helpKeys [private] |
Definition at line 1722 of file menu.c.
Referenced by cMenuSchedule(), and SetHelpKeys().
bool cMenuSchedule::next [private] |
Definition at line 1720 of file menu.c.
Referenced by cMenuSchedule(), and ProcessKey().
bool cMenuSchedule::now [private] |
Definition at line 1720 of file menu.c.
Referenced by cMenuSchedule(), PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), and ProcessKey().
int cMenuSchedule::otherChannel [private] |
Definition at line 1721 of file menu.c.
Referenced by cMenuSchedule(), ProcessKey(), and Switch().
const cSchedules* cMenuSchedule::schedules [private] |
Definition at line 1719 of file menu.c.
Referenced by cMenuSchedule(), PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), and ProcessKey().
cSchedulesLock cMenuSchedule::schedulesLock [private] |
Definition at line 1718 of file menu.c.
Referenced by cMenuSchedule().
int cMenuSchedule::timerState [private] |
Definition at line 1723 of file menu.c.
Referenced by cMenuSchedule(), and Update().