blob: 192c062488d675e91e10c0d68556777a270f4287 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
|