summaryrefslogtreecommitdiff
path: root/menu.h
blob: 98114671682c15fd38d001ec5d68452652fa5c60 (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
/*
 * 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();
  cRecording *GetRecording(cHistoryRecordingMenuItem *Item);

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

#endif //__HISTORY_MENU_H