summaryrefslogtreecommitdiff
path: root/charset.h
blob: 395c8388bc5475d3daf1c4895256c9cbf4f3ada1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * charset.h: Character set list item
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef __EPGFIXER_CHARSET_H_
#define __EPGFIXER_CHARSET_H_

#include <vdr/epg.h>
#include <vdr/tools.h>
#include "tools.h"

class cCharSet : public cListItem
{
private:
  char *origcharset;
  char *realcharset;

public:
  cCharSet();
  virtual ~cCharSet();
  using cListItem::Apply;
  virtual bool Apply(cEvent *Event);
  void SetFromString(char *string, bool Enabled);
};

// Global instance
extern cEpgfixerList<cCharSet, cEvent> EpgfixerCharSets;

#endif //__EPGFIXER_CHARSET_H_