/*$cb
 *    This file is a part of OpenMHP VDR plugin.
 *
 *    Copyright (C) 2005 Mikko Novaro <miknov@gmail.com>
 *
 *    See README file for licensing and contact information.
 $ce*/

#ifndef _OPENMHPSETUP_H_
#define _OPENMHPSETUP_H_

#include <vdr/plugin.h>
#include "openmhp.h"

class cPluginOpenmhp;
// static char *colorDepthChoices[] = {"16", "256", "64k", "16M", "32bit"};

class cMenuSetupOpenmhp : public cMenuSetupPage {
 private:
  cPluginOpenmhp *openmhp;
  int newDitheringEnabled;
  int newOsdBitdepth;
  int newOsdScale;
  char *newMhpCacheDir;
  int newVirtualXServer;
  int newVirtualXDisplay; // display number
  int newOpenmhpOutput;
 protected:
  virtual void Store(void);
 public:
  static const char *bitdepthChoices[];
  static const int bitdepthChoiceCount;
  static const char *virtualXServerChoices[];
  static const int virtualXServerChoiceCount;
  static const char *openmhpOutputChoices[];
  static const int openmhpOutputChoiceCount;
  
  cMenuSetupOpenmhp(cPluginOpenmhp * OPENMHP);
  ~cMenuSetupOpenmhp(void);
};


#endif
