diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-27 09:37:33 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-27 09:37:33 +0200 |
commit | 110c64f56db10405446cafb17a1c18308fff0b96 (patch) | |
tree | 94d126fad38241c02d7a15c257661452cc6ce0f4 /menu.h | |
parent | fe37211da0b543271d77754faa50ef54dbe4fe52 (diff) | |
download | vdr-110c64f56db10405446cafb17a1c18308fff0b96.tar.gz vdr-110c64f56db10405446cafb17a1c18308fff0b96.tar.bz2 |
Moved cMenuEditTimer and cMenuEvent to menu.h so that plugins can use it
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.h 1.70 2005/05/15 14:34:54 kls Exp $ + * $Id: menu.h 1.71 2005/08/27 09:37:33 kls Exp $ */ #ifndef __MENU_H @@ -15,6 +15,7 @@ #include "epg.h" #include "osdbase.h" #include "dvbplayer.h" +#include "menuitems.h" #include "recorder.h" #include "skins.h" @@ -29,6 +30,29 @@ public: virtual eOSState ProcessKey(eKeys Key); }; +class cMenuEditTimer : public cOsdMenu { +private: + cTimer *timer; + cTimer data; + int channel; + bool addIfConfirmed; + cMenuEditDateItem *firstday; + void SetFirstDayItem(void); +public: + cMenuEditTimer(cTimer *Timer, bool New = false); + virtual ~cMenuEditTimer(); + virtual eOSState ProcessKey(eKeys Key); + }; + +class cMenuEvent : public cOsdMenu { +private: + const cEvent *event; +public: + cMenuEvent(const cEvent *Event, bool CanSwitch = false); + virtual void Display(void); + virtual eOSState ProcessKey(eKeys Key); + }; + class cMenuMain : public cOsdMenu { private: time_t lastActivity; |