diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-03-19 15:38:43 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-03-19 15:38:43 +0100 |
commit | ccc7c4a2d897f5e291a28d438a4fee9c6e45cd26 (patch) | |
tree | 995743cd01a2e133911b0ed4860085186dc781bd /menuitems.h | |
parent | ae5ee879d0b2fe661278be9337eeda88fd4c656f (diff) | |
download | vdr-ccc7c4a2d897f5e291a28d438a4fee9c6e45cd26.tar.gz vdr-ccc7c4a2d897f5e291a28d438a4fee9c6e45cd26.tar.bz2 |
The day of a timer is now stored as a full date in ISO notation
Diffstat (limited to 'menuitems.h')
-rw-r--r-- | menuitems.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/menuitems.h b/menuitems.h index 28904013..b45fc960 100644 --- a/menuitems.h +++ b/menuitems.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menuitems.h 1.10 2004/11/21 13:23:00 kls Exp $ + * $Id: menuitems.h 1.11 2005/03/19 15:02:57 kls Exp $ */ #ifndef __MENUITEMS_H @@ -118,24 +118,16 @@ public: virtual eOSState ProcessKey(eKeys Key); }; -class cMenuEditDayItem : public cMenuEditIntItem { +class cMenuEditDateItem : public cMenuEditItem { private: static int days[]; - int d; - int md; -protected: - virtual void Set(void); -public: - cMenuEditDayItem(const char *Name, int *Value); - virtual eOSState ProcessKey(eKeys Key); - }; - -class cMenuEditDateItem : public cMenuEditItem { -protected: time_t *value; + int *weekdays; + time_t oldvalue; + int dayindex; virtual void Set(void); public: - cMenuEditDateItem(const char *Name, time_t *Value); + cMenuEditDateItem(const char *Name, time_t *Value, int *WeekDays = NULL); virtual eOSState ProcessKey(eKeys Key); }; |