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 138 of file menuitems.h.


Constructor & Destructor Documentation

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

Definition at line 736 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 746 of file menuitems.c.

References days.

Referenced by cMenuEditDateItem(), and ProcessKey().

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

Reimplemented from cOsdItem.

Definition at line 754 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 773 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 140 of file menuitems.h.

Referenced by FindDayIndex(), and ProcessKey().

time_t* cMenuEditDateItem::value [private]

Definition at line 141 of file menuitems.h.

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

Definition at line 142 of file menuitems.h.

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

time_t cMenuEditDateItem::oldvalue [private]

Definition at line 143 of file menuitems.h.

Referenced by cMenuEditDateItem(), and ProcessKey().

Definition at line 144 of file menuitems.h.

Referenced by cMenuEditDateItem(), and ProcessKey().


The documentation for this class was generated from the following files:

Generated on Tue Nov 4 19:59:35 2008 for VDR by  doxygen 1.5.6