summaryrefslogtreecommitdiff
path: root/setup-itypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'setup-itypes.h')
-rw-r--r--setup-itypes.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/setup-itypes.h b/setup-itypes.h
new file mode 100644
index 0000000..ff646e4
--- /dev/null
+++ b/setup-itypes.h
@@ -0,0 +1,40 @@
+#ifndef __SETUP_EXTENSIONS_DVDSWITCH_H
+#define __SETUP_EXTENSIONS_DVDSWITCH_H
+
+#include <vdr/menuitems.h>
+#include "imagelist.h"
+
+class cMenuSetupDSITypes : public cOsdMenu
+{
+ private:
+ cSetupLine *SetupLine;
+ bool Select;
+ int *RetIndex;
+ char *Buffer;
+
+ void Set(void);
+ public:
+ cMenuSetupDSITypes(bool select = false, int* retindex = NULL, char *buffer = NULL);
+ void SetHelp(void);
+ protected:
+ virtual eOSState ProcessKey(eKeys Key);
+};
+
+class cMenuSetupDSITypesItem : public cOsdMenu
+{
+ private:
+ cImageListItem *Item;
+ char LongName[50];
+ char ShortName[20];
+ int FileType;
+ const char *FileTypes[2];
+ char Extension[20];
+ int HideExtension;
+
+ void Set(void);
+ public:
+ cMenuSetupDSITypesItem(int itemindex);
+ virtual eOSState ProcessKey(eKeys Key);
+};
+
+#endif // __SETUP_EXTENSIONS_DVDSWITCH_H