summaryrefslogtreecommitdiff
path: root/charset.h
blob: cfcee793e61b95afaa73049bd1e7891d401b8542 (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
/*
 * 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 "tools.h"
#include <vdr/epg.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_