summaryrefslogtreecommitdiff
path: root/menu-item.h
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2010-12-21 20:36:58 +0100
committeranbr <vdr07@deltab.de>2010-12-21 20:36:58 +0100
commit10a33e14d6338ff004410413f6fe52810be43f67 (patch)
tree6f71b062e9235be1383a9e6c536fea336d400e6c /menu-item.h
downloadvdr-plugin-dvdswitch-10a33e14d6338ff004410413f6fe52810be43f67.tar.gz
vdr-plugin-dvdswitch-10a33e14d6338ff004410413f6fe52810be43f67.tar.bz2
release 0.1.0 from http://www.schmidtie.de/download/vdr-dvdswitch-0.1.0.tar.bz20.1.0
Diffstat (limited to 'menu-item.h')
-rw-r--r--menu-item.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/menu-item.h b/menu-item.h
new file mode 100644
index 0000000..cb102a3
--- /dev/null
+++ b/menu-item.h
@@ -0,0 +1,30 @@
+#ifndef __MENUITEM_DVDSWITCH_H
+#define __MENUITEM_DVDSWITCH_H
+
+#include <vdr/osdbase.h>
+#include "dvdlist-item.h"
+
+enum eMainMenuItem
+{
+ iCat,
+ iParent,
+ iDir,
+ iDVD,
+ iDevice
+};
+
+class cMainMenuItem : public cOsdItem
+{
+ private:
+ eMainMenuItem iType;
+ char *File;
+ char *OSD;
+ public:
+ cMainMenuItem(eMainMenuItem itype, char *file = NULL);
+ ~cMainMenuItem(void);
+
+ eMainMenuItem Type(void) { return iType; };
+ char* FileName(void) { return File; };
+};
+
+#endif // __MENUITEM_DVDSWITCH_H