forked from flensrocker/vdr-plugin-recsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu_recordings.h
41 lines (36 loc) · 936 Bytes
/
menu_recordings.h
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
#ifndef recsearch_menu_recordings_h
#define recsearch_menu_recordings_h
#include <vdr/config.h>
#if APIVERSNUM < 20103
// a copy of vdr's cMenuRecordings
// for older versions
#include <vdr/osdbase.h>
#include "recording_filter.h"
namespace recsearch
{
class cMenuRecordings : public cOsdMenu {
private:
char *base;
int level;
int recordingsState;
int helpKeys;
const cRecordingFilter *filter;
void SetHelpKeys(void);
void Set(bool Refresh = false);
bool Open(bool OpenSubMenus = false);
eOSState Play(void);
eOSState Rewind(void);
eOSState Delete(void);
eOSState Info(void);
eOSState Sort(void);
eOSState Commands(eKeys Key = kNone);
protected:
cString DirectoryName(void);
public:
cMenuRecordings(const char *Base = NULL, int Level = 0, bool OpenSubMenus = false, const cRecordingFilter *Filter = NULL);
virtual ~cMenuRecordings();
virtual eOSState ProcessKey(eKeys Key);
};
}
#endif
#endif