diff options
| author | Jürgen Schmitz <vdr@dolze.de> | 2006-06-20 20:15:00 +0200 |
|---|---|---|
| committer | Jürgen Schmitz <vdr@dolze.de> | 2006-06-20 20:15:00 +0200 |
| commit | a8b393036b07f1bd05f09e71802cafe82ea50cbb (patch) | |
| tree | 9ae11b65082511d2083a046f566fae9b7d90a8a8 /timer.h | |
| parent | 83720d70112490b379cdc230bfb4e4f6a2fe6bff (diff) | |
| download | vdr-plugin-tvonscreen-a8b393036b07f1bd05f09e71802cafe82ea50cbb.tar.gz vdr-plugin-tvonscreen-a8b393036b07f1bd05f09e71802cafe82ea50cbb.tar.bz2 | |
Version 1.0.141
Diffstat (limited to 'timer.h')
| -rw-r--r-- | timer.h | 44 |
1 files changed, 4 insertions, 40 deletions
@@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: timer.h,v 1.3 2004/11/24 17:05:27 schmitzj Exp $ + * $Id: timer.h,v 1.4 2006/06/18 13:59:36 schmitzj Exp $ * */ @@ -11,51 +11,15 @@ #define TIMER_H #include <vdr/plugin.h> +#include <vdr/menu.h> #include <time.h> #include "gfxtools.h" #include "config.h" -#if VDRVERSNUM >= 10300 -class cMenuEvent : public cOsdMenu { -private: - const cEvent *event; +class tvOcMenuEvent : public cMenuEvent +{ public: - cMenuEvent(const cEvent *Event, bool CanSwitch = false); - virtual void Display(void); - virtual eOSState ProcessKey(eKeys Key); -}; -#else -class cMenuEvent : public cOsdMenu { -private: - const class cEventInfo *eventInfo; -public: - cMenuEvent(const class cEventInfo *EventInfo, bool CanSwitch = false); - cMenuEvent(bool Now); - virtual eOSState ProcessKey(eKeys Key); -}; -#endif - -class cMenuEditTimer : public cOsdMenu { -private: - cTimer *timer; - cTimer data; - int channel; - bool addIfConfirmed; - class cMenuEditDateItem *firstday; - void SetFirstDayItem(void); -public: - cMenuEditTimer(cTimer *Timer, bool New = false); - virtual ~cMenuEditTimer(); - virtual eOSState ProcessKey(eKeys Key); - }; - -class tvOcMenuEvent : public cMenuEvent { -public: -#if VDRVERSNUM >= 10300 tvOcMenuEvent(const class cEvent *EventInfo); -#else - tvOcMenuEvent(const class cEventInfo *EventInfo); -#endif void printMsg(const char *); void helpLine(bool full=true); }; |
