diff options
author | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2012-05-03 22:23:37 +0300 |
---|---|---|
committer | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2012-05-03 22:23:37 +0300 |
commit | 5fb133a99f38083a421dc0a33acb58a1fa674876 (patch) | |
tree | 86bb834aebf34c79468ee644448066458c190c94 /charset.h | |
parent | c09232f3020c5cdf78fbd7d3f7e5f773c4789da1 (diff) | |
download | vdr-plugin-epgfixer-5fb133a99f38083a421dc0a33acb58a1fa674876.tar.gz vdr-plugin-epgfixer-5fb133a99f38083a421dc0a33acb58a1fa674876.tar.bz2 |
Add support for character set conversions. Add support for stripping HTML entities. Restructure code.
Diffstat (limited to 'charset.h')
-rw-r--r-- | charset.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/charset.h b/charset.h new file mode 100644 index 0000000..fd021df --- /dev/null +++ b/charset.h @@ -0,0 +1,31 @@ +/* + * regexp.h: Regular expression list + * + * See the README file for copyright information and how to reach the author. + * + */ + +#ifndef _CHARSET_H_ +#define _CHARSET_H_ + +#include "tools.h" +#include <vdr/epg.h> +#include <vdr/tools.h> +#include <stdio.h> + +class cCharSet : public cListItem +{ +private: + char *charset; +public: + cCharSet(); + virtual ~cCharSet(); + bool ConvertCharSet(cEvent *Event); + void SetFromString(char *string, bool Enabled); + virtual void PrintConfigLineToFile(FILE *f); +}; + +// Global instance +extern cEpgfixerList<cCharSet> EpgfixerCharSets; + +#endif //_REGEXP_H_ |