vdr
1.7.27
|
Public Types | |
enum | eScheduleSortMode { ssmAllThis, ssmThisThis, ssmThisAll, ssmAllAll } |
Public Member Functions | |
cMenuScheduleItem (const cEvent *Event, cChannel *Channel=NULL, bool WithDate=false) | |
virtual int | Compare (const cListObject &ListObject) const |
bool | Update (bool Force=false) |
Static Public Member Functions | |
static void | SetSortMode (eScheduleSortMode SortMode) |
static void | IncSortMode (void) |
static eScheduleSortMode | SortMode (void) |
Public Attributes | |
const cEvent * | event |
const cChannel * | channel |
bool | withDate |
int | timerMatch |
Static Private Attributes | |
static eScheduleSortMode | sortMode = ssmAllThis |
cMenuScheduleItem::cMenuScheduleItem | ( | const cEvent * | Event, |
cChannel * | Channel = NULL , |
||
bool | WithDate = false |
||
) |
int cMenuScheduleItem::Compare | ( | const cListObject & | ListObject | ) | const [virtual] |
Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".
Reimplemented from cListObject.
Definition at line 1514 of file menu.c.
References event, sortMode, ssmAllThis, cEvent::StartTime(), and cEvent::Title().
static void cMenuScheduleItem::IncSortMode | ( | void | ) | [inline, static] |
Definition at line 1497 of file menu.c.
References sortMode, ssmAllAll, and ssmAllThis.
Referenced by cMenuSchedule::Number().
static void cMenuScheduleItem::SetSortMode | ( | eScheduleSortMode | SortMode | ) | [inline, static] |
Definition at line 1496 of file menu.c.
References sortMode, and SortMode().
Referenced by cMenuSchedule::cMenuSchedule(), and cMenuSchedule::ProcessKey().
static eScheduleSortMode cMenuScheduleItem::SortMode | ( | void | ) | [inline, static] |
Definition at line 1498 of file menu.c.
References sortMode.
Referenced by cMenuSchedule::Number(), and SetSortMode().
bool cMenuScheduleItem::Update | ( | bool | Force = false | ) |
Definition at line 1527 of file menu.c.
References channel, event, cTimers::GetMatch(), cEvent::GetTimeString(), cChannel::Number(), cOsdItem::SetText(), cChannel::ShortName(), cString::sprintf(), timerMatch, TimerMatchChars, Timers, Utf8SymChars(), and withDate.
Referenced by cMenuScheduleItem().
Definition at line 1492 of file menu.c.
Referenced by cMenuScheduleItem(), cMenuWhatsOn::ProcessKey(), and Update().
const cEvent* cMenuScheduleItem::event |
Definition at line 1491 of file menu.c.
Referenced by Compare(), cMenuSchedule::Number(), cMenuWhatsOn::ProcessKey(), cMenuWhatsOn::Record(), cMenuSchedule::Record(), cMenuWhatsOn::Switch(), and Update().
cMenuScheduleItem::eScheduleSortMode cMenuScheduleItem::sortMode = ssmAllThis [static, private] |
Definition at line 1489 of file menu.c.
Referenced by Compare(), IncSortMode(), SetSortMode(), and SortMode().
Definition at line 1494 of file menu.c.
Referenced by cMenuScheduleItem(), cMenuWhatsOn::Record(), cMenuSchedule::Record(), cMenuWhatsOn::SetHelpKeys(), cMenuSchedule::SetHelpKeys(), and Update().
Definition at line 1493 of file menu.c.
Referenced by cMenuScheduleItem(), and Update().