/*
 * menu.h: Main Menu
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef __XINELIB_MENU_H
#define __XINELIB_MENU_H

#include <vdr/menuitems.h>


class cMenuXinelib : public cMenuSetupPage 
{
  private:
    int field_order;
    int aspect;
    int compression;
    int headphone;
    int autoscale;
    
#ifdef ENABLE_SUSPEND
    int suspend;
    cOsdItem *decoder_ctrl_suspend;
#endif
#ifdef HAVE_XV_FIELD_ORDER
    cOsdItem *video_ctrl_interlace_order;
#endif
    cOsdItem *display_ctrl_aspect;
    cOsdItem *audio_ctrl_compress;

    cOsdItem *ctrl_autoscale;
    cOsdItem *ctrl_headphone;

  protected:
    virtual void Store(void);

  public:
    cMenuXinelib(void);
    virtual ~cMenuXinelib();
    virtual eOSState ProcessKey(eKeys Key);
};

#endif //__XINELIB_SETUP_MENU_H
