summaryrefslogtreecommitdiff
path: root/menuitems.h
diff options
context:
space:
mode:
Diffstat (limited to 'menuitems.h')
-rw-r--r--menuitems.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/menuitems.h b/menuitems.h
index f9b2ff3..72a2418 100644
--- a/menuitems.h
+++ b/menuitems.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.h 1.5 2003/01/12 15:06:23 kls Exp $
+ * $Id: menuitems.h 1.5 2003/01/12 15:06:23 kls Exp kls $
*/
#ifndef __MENUITEMS_H
@@ -42,6 +42,16 @@ public:
cMenuEditBoolItem(const char *Name, int *Value, const char *FalseString = NULL, const char *TrueString = NULL);
};
+class cMenuEditBitItem : public cMenuEditBoolItem {
+protected:
+ int *value;
+ int bit;
+ int mask;
+ virtual void Set(void);
+public:
+ cMenuEditBitItem(const char *Name, int *Value, int Mask, const char *FalseString = NULL, const char *TrueString = NULL);
+ };
+
class cMenuEditNumItem : public cMenuEditItem {
protected:
char *value;