summaryrefslogtreecommitdiff
path: root/menudispkey.h
blob: 535bee4e8a522c2dd4121f0275a01ae50d4ce532 (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
/*
 * undelete: A plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 * $Id: menudispkey.h 0.5 2005/11/17 21:05:05 hflor Exp $
 */

#ifndef __MENUDISPKEY_H
#define __MENUDISPKEY_H

#include "vdrtools.h"
#include <vdr/menuitems.h>

// --- cMenuDispKeyItem -----------------------------------------------------

class cMenuDispKeyItem : public cOsdItem {
private:
  int function;
public:
  cMenuDispKeyItem(const char *Key, const char *FunctionName, int Function);
  int Function(void) { return function; }
  };

class cMenuDispKey : public cOsdMenu {
private:
  void SetHelpKeys(void);
  void Set(void);
public:
#ifdef UND_Debug
  int objID;  
#endif
  cMenuDispKey(void);
  ~cMenuDispKey(void);
  virtual eOSState ProcessKey(eKeys Key);
  };

#endif //__MENUDISPKEY_H