summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-04-30 10:22:13 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-04-30 10:22:13 +0200
commit49ce70fdb39d1505d593da179f52c8f1f0bdcfb1 (patch)
tree15ebe1aa13b6dad2d3092d70ad1373887038f429 /osd.h
parentf13ded672b7fe1836299ca6d7fc2910c0c9c1109 (diff)
downloadvdr-49ce70fdb39d1505d593da179f52c8f1f0bdcfb1.tar.gz
vdr-49ce70fdb39d1505d593da179f52c8f1f0bdcfb1.tar.bz2
Better encapsulation of record control
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h7
1 files changed, 5 insertions, 2 deletions
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<cOsdItem> {