From 49ce70fdb39d1505d593da179f52c8f1f0bdcfb1 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 30 Apr 2000 10:22:13 +0200 Subject: Better encapsulation of record control --- osd.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'osd.h') diff --git a/osd.h b/osd.h index 11145319..cf7ac06d 100644 --- a/osd.h +++ b/osd.h @@ -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 { -- cgit v1.2.3