diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-30 10:22:13 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-30 10:22:13 +0200 |
commit | 49ce70fdb39d1505d593da179f52c8f1f0bdcfb1 (patch) | |
tree | 15ebe1aa13b6dad2d3092d70ad1373887038f429 /osd.h | |
parent | f13ded672b7fe1836299ca6d7fc2910c0c9c1109 (diff) | |
download | vdr-49ce70fdb39d1505d593da179f52c8f1f0bdcfb1.tar.gz vdr-49ce70fdb39d1505d593da179f52c8f1f0bdcfb1.tar.bz2 |
Better encapsulation of record control
Diffstat (limited to 'osd.h')
-rw-r--r-- | osd.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.h 1.5 2000/04/29 14:45:47 kls Exp $ + * $Id: osd.h 1.6 2000/04/30 09:47:52 kls Exp $ */ #ifndef __OSD_H @@ -46,10 +46,13 @@ public: }; class cOsdBase { +protected: + bool needsFastResponse; public: - cOsdBase(void) {} + cOsdBase(bool FastResponse = false) { needsFastResponse = FastResponse; } virtual ~cOsdBase() {} virtual eOSState ProcessKey(eKeys Key) = 0; + bool NeedsFastResponse(void) { return needsFastResponse; } }; class cOsdMenu : public cOsdBase, public cList<cOsdItem> { |