summaryrefslogtreecommitdiff
path: root/menuitems.h
diff options
context:
space:
mode:
authorTobias Grimm <tobias@e-tobi.loc>2009-03-01 23:50:11 +0100
committerTobias Grimm <tobias@e-tobi.loc>2009-03-01 23:50:11 +0100
commit41f3a108fd60f083b4c1b64dd249c606b55e2720 (patch)
tree46ea648abeda3bd3ce901012410f3dd4c208cca7 /menuitems.h
parent1072f8978350e57f7aa35aaa79081e5031a12901 (diff)
downloadxeatre-vdr-patches-patches/xeatre/1.6/extend-maxvideofilesize.tar.gz
xeatre-vdr-patches-patches/xeatre/1.6/extend-maxvideofilesize.tar.bz2
initial commit of the extend-maxvideofilesize patchpatches/xeatre/1.6/extend-maxvideofilesize
Diffstat (limited to 'menuitems.h')
-rw-r--r--menuitems.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/menuitems.h b/menuitems.h
index 0170f9b..18cb0ca 100644
--- a/menuitems.h
+++ b/menuitems.h
@@ -10,6 +10,7 @@
#ifndef __MENUITEMS_H
#define __MENUITEMS_H
+#include <stdint.h>
#include <limits.h>
#include "osdbase.h"
@@ -35,6 +36,17 @@ public:
virtual eOSState ProcessKey(eKeys Key);
};
+class cMenuEditInt64Item : public cMenuEditItem {
+protected:
+ int64_t *value;
+ int64_t min, max;
+ const char *minString, *maxString;
+ virtual void Set(void);
+public:
+ cMenuEditInt64Item(const char *Name, int64_t *Value, int64_t Min = 0, int64_t Max = 9223372036854775807LL, const char *MinString = NULL, const char *MaxString = NULL);
+ virtual eOSState ProcessKey(eKeys Key);
+ };
+
class cMenuEditBoolItem : public cMenuEditIntItem {
protected:
const char *falseString, *trueString;