summaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-04-29 15:57:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-04-29 15:57:42 +0200
commitf13ded672b7fe1836299ca6d7fc2910c0c9c1109 (patch)
tree2a353d944b8dca194065a4e69601ba46b6c7d8f5 /menu.h
parent20ad6d5a050fc0ad386a55ac62f26995fa4b1aca (diff)
downloadvdr-f13ded672b7fe1836299ca6d7fc2910c0c9c1109.tar.gz
vdr-f13ded672b7fe1836299ca6d7fc2910c0c9c1109.tar.bz2
Better encapsulation of user interaction
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/menu.h b/menu.h
index f6657996..a5317f36 100644
--- a/menu.h
+++ b/menu.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.h 1.5 2000/04/24 15:31:53 kls Exp $
+ * $Id: menu.h 1.6 2000/04/29 15:38:39 kls Exp $
*/
#ifndef _MENU_H
@@ -18,13 +18,19 @@ public:
virtual eOSState ProcessKey(eKeys Key);
};
-class cReplayDisplay {
+class cReplayControl : public cOsdBase {
private:
- bool shown;
+ bool visible, shown;
+ void Show(void);
+ void Hide(void);
+ static char *fileName;
+ static char *title;
public:
- cReplayDisplay(void);
- ~cReplayDisplay();
- eKeys ProcessKey(eKeys Key);
+ cReplayControl(void);
+ virtual ~cReplayControl();
+ virtual eOSState ProcessKey(eKeys Key);
+ bool Visible(void) { return visible; }
+ static void SetRecording(const char *FileName, const char *Title);
};
#endif //_MENU_H