summaryrefslogtreecommitdiff
path: root/menu.h
blob: ee8400500bb9933f6e60d252c82f0d66bf2ce450 (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
/*
 * setup_menu.h: Setup Menu
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef __HISTORY_MENU_H
#define __HISTORY_MENU_H

#include <vdr/menu.h>
#include <vdr/menuitems.h>
#include <vdr/recording.h>

class cHistoryRecordingMenuItem;

class cHistoryMainMenu : public cOsdMenu
{
private:
  cHistoryLogger *history_logger;
  void SetHelpKeys();
  void SetMenu();
  eOSState Delete();
  eOSState Info();
  eOSState Play();
  eOSState Rewind();
#if VDRVERSNUM >= 20301
  const cRecording *GetRecordingRead(cHistoryRecordingMenuItem *Item);
#endif
  cRecording *GetRecording(cHistoryRecordingMenuItem *Item);

public:
  cHistoryMainMenu(cHistoryLogger *HistoryLogger);
  virtual eOSState ProcessKey(eKeys Key);
};

#endif //__HISTORY_MENU_H