diff options
author | Antti Ajanki <antti.ajanki@iki.fi> | 2013-08-09 21:39:11 +0300 |
---|---|---|
committer | Antti Ajanki <antti.ajanki@iki.fi> | 2013-08-09 21:39:11 +0300 |
commit | 451f691d367a46f365101f39cc093ce2feaacd13 (patch) | |
tree | 6ac88c6ecf46755c4826719f58a2cf00ac9ecb8c /src/vdr-plugin/menu_timer.h | |
parent | 2d4d55cfedccfa80d283592af349e93d0968f58e (diff) | |
download | vdr-plugin-webvideo-451f691d367a46f365101f39cc093ce2feaacd13.tar.gz vdr-plugin-webvideo-451f691d367a46f365101f39cc093ce2feaacd13.tar.bz2 |
Import vdr-plugin from the master branch
Diffstat (limited to 'src/vdr-plugin/menu_timer.h')
-rw-r--r-- | src/vdr-plugin/menu_timer.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/vdr-plugin/menu_timer.h b/src/vdr-plugin/menu_timer.h new file mode 100644 index 0000000..192c062 --- /dev/null +++ b/src/vdr-plugin/menu_timer.h @@ -0,0 +1,46 @@ +/* + * menu_timer.h: Web video plugin for the Video Disk Recorder + * + * See the README file for copyright information and how to reach the author. + * + * $Id$ + */ + +#ifndef __WEBVIDEO_MENU_TIMER_H +#define __WEBVIDEO_MENU_TIMER_H + +#include <vdr/osdbase.h> +#include "timer.h" + +// --- cEditWebviTimerMenu ------------------------------------------------- + +class cEditWebviTimerMenu : public cOsdMenu { +private: + static const int maxTitleLen = 128; + + cWebviTimer &timer; + char title[maxTitleLen]; + int interval; + bool refresh; + +public: + cEditWebviTimerMenu(cWebviTimer &timer, bool refreshWhenDone=false, + bool execButton=true); + ~cEditWebviTimerMenu(); + + virtual eOSState ProcessKey(eKeys Key); +}; + +// --- cWebviTimerListMenu ------------------------------------------------- + +class cWebviTimerListMenu : public cOsdMenu { +private: + cWebviTimerManager& timers; + +public: + cWebviTimerListMenu(cWebviTimerManager &timers); + + virtual eOSState ProcessKey(eKeys Key); +}; + +#endif |