summaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/menu.h b/menu.h
new file mode 100644
index 00000000..8dc8e6b6
--- /dev/null
+++ b/menu.h
@@ -0,0 +1,46 @@
+/*
+ * menu.h: Main Menu
+ *
+ * See the main source file 'xineliboutput.c' for copyright information and
+ * how to reach the author.
+ *
+ * $Id: menu.h,v 1.1 2006-06-03 09:50:54 phintuka Exp $
+ *
+ */
+
+#ifndef __XINELIB_MENU_H
+#define __XINELIB_MENU_H
+
+#include <vdr/menuitems.h>
+
+
+class cMenuXinelib : public cMenuSetupPage
+{
+ private:
+ int field_order;
+ int compression;
+ int headphone;
+ int autocrop;
+
+#ifdef ENABLE_SUSPEND
+ int suspend;
+ cOsdItem *decoder_ctrl_suspend;
+#endif
+#ifdef HAVE_XV_FIELD_ORDER
+ cOsdItem *video_ctrl_interlace_order;
+#endif
+ cOsdItem *audio_ctrl_compress;
+
+ cOsdItem *ctrl_autocrop;
+ cOsdItem *ctrl_headphone;
+
+ protected:
+ virtual void Store(void);
+
+ public:
+ cMenuXinelib(void);
+ virtual ~cMenuXinelib();
+ virtual eOSState ProcessKey(eKeys Key);
+};
+
+#endif //__XINELIB_SETUP_MENU_H