summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
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> {