cMenuEditDateItem Class Reference

#include <menuitems.h>

Inheritance diagram for cMenuEditDateItem:

Inheritance graph
[legend]
Collaboration diagram for cMenuEditDateItem:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cMenuEditDateItem (const char *Name, time_t *Value, int *WeekDays=NULL)
virtual eOSState ProcessKey (eKeys Key)

Private Member Functions

int FindDayIndex (int WeekDays)
virtual void Set (void)

Private Attributes

time_t * value
int * weekdays
time_t oldvalue
int dayindex

Static Private Attributes

static int days []


Detailed Description

Definition at line 130 of file menuitems.h.


Constructor & Destructor Documentation

cMenuEditDateItem::cMenuEditDateItem ( const char *  Name,
time_t *  Value,
int *  WeekDays = NULL 
)

Definition at line 670 of file menuitems.c.

References dayindex, FindDayIndex(), oldvalue, Set(), value, and weekdays.

Here is the call graph for this function:


Member Function Documentation

int cMenuEditDateItem::FindDayIndex ( int  WeekDays  )  [private]

Definition at line 680 of file menuitems.c.

References days.

Referenced by cMenuEditDateItem(), and ProcessKey().

void cMenuEditDateItem::Set ( void   )  [private, virtual]

Reimplemented from cOsdItem.

Definition at line 688 of file menuitems.c.

References DATEBUFFERSIZE, cTimer::PrintDay(), cMenuEditItem::SetValue(), value, WeekDayName(), and weekdays.

Referenced by cMenuEditDateItem(), and ProcessKey().

Here is the call graph for this function:

eOSState cMenuEditDateItem::ProcessKey ( eKeys  Key  )  [virtual]

Reimplemented from cOsdItem.

Definition at line 707 of file menuitems.c.

References dayindex, days, FindDayIndex(), cTimer::GetWDay(), k0, k1, k7, kLeft, kRight, NORMALKEY, oldvalue, osContinue, osUnknown, cOsdItem::ProcessKey(), SECSINDAY, Set(), cTimer::SetTime(), cOsdItem::state, value, and weekdays.

Here is the call graph for this function:


Member Data Documentation

int cMenuEditDateItem::days [static, private]

Initial value:

 { ParseWeekDays("M------"),
                                  ParseWeekDays("-T-----"),
                                  ParseWeekDays("--W----"),
                                  ParseWeekDays("---T---"),
                                  ParseWeekDays("----F--"),
                                  ParseWeekDays("-----S-"),
                                  ParseWeekDays("------S"),
                                  ParseWeekDays("MTWTF--"),
                                  ParseWeekDays("MTWTFS-"),
                                  ParseWeekDays("MTWTFSS"),
                                  ParseWeekDays("-----SS"),
                                  0 }

Definition at line 132 of file menuitems.h.

Referenced by FindDayIndex(), and ProcessKey().

time_t* cMenuEditDateItem::value [private]

Definition at line 133 of file menuitems.h.

Referenced by cMenuEditDateItem(), ProcessKey(), and Set().

int* cMenuEditDateItem::weekdays [private]

Definition at line 134 of file menuitems.h.

Referenced by cMenuEditDateItem(), ProcessKey(), and Set().

time_t cMenuEditDateItem::oldvalue [private]

Definition at line 135 of file menuitems.h.

Referenced by cMenuEditDateItem(), and ProcessKey().

int cMenuEditDateItem::dayindex [private]

Definition at line 136 of file menuitems.h.

Referenced by cMenuEditDateItem(), and ProcessKey().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:15:25 2007 for VDR by  doxygen 1.5.3-20071008