diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-29 15:57:42 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-29 15:57:42 +0200 |
commit | f13ded672b7fe1836299ca6d7fc2910c0c9c1109 (patch) | |
tree | 2a353d944b8dca194065a4e69601ba46b6c7d8f5 /menu.h | |
parent | 20ad6d5a050fc0ad386a55ac62f26995fa4b1aca (diff) | |
download | vdr-f13ded672b7fe1836299ca6d7fc2910c0c9c1109.tar.gz vdr-f13ded672b7fe1836299ca6d7fc2910c0c9c1109.tar.bz2 |
Better encapsulation of user interaction
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -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 |