/*
 * config.h: TVTV plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 * $Id$
 */

#ifndef __TVTV_CONFIG_H
#define __TVTV_CONFIG_H

#include <vdr/interface.h>
#include <vdr/plugin.h>
#include <vdr/tools.h>

struct cTVTVConfig
{
public:
  cTVTVConfig(void);

  int  tvtv_server;
  char username[30];
  char password[30];
  int  updatetime;
  int  autoupdate;
  int  usegenre;
  int  usestation;
  int  show_in_mainmenu;
  int  useproxy;
  char httpproxy[256];
// VPS was introduced with VDR 1.3.5
#if VDRVERSNUM >= 10305
  int  usevps;
#endif
#if VDRVERSNUM >= 10344
  int  usetvtvdescr;
#endif
};

extern cTVTVConfig TVTVConfig;

extern char sPackedString[30];

#endif // __TVTV_CONFIG_H 
