summaryrefslogtreecommitdiff
path: root/charset.h
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-05-12 14:42:01 +0300
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-05-12 14:42:01 +0300
commit6b488dcedf24cf9b4890505eba992d683eedecac (patch)
tree51347d76c4b2891568e54348d9ce0ab99304bd0b /charset.h
parent548e0a6bc35d4c776039f7467c0d67eabf9ef46a (diff)
downloadvdr-plugin-epgfixer-6b488dcedf24cf9b4890505eba992d683eedecac.tar.gz
vdr-plugin-epgfixer-6b488dcedf24cf9b4890505eba992d683eedecac.tar.bz2
Support for ignoring and copying EPG data. Bug fixes.
Fix character set conversion for selected channels. Fix and improve Makefile (thanks to Ville Skyttä and Rolf Ahrenberg). Fix compiling with g++-4.7.
Diffstat (limited to 'charset.h')
-rw-r--r--charset.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/charset.h b/charset.h
index f73a964..cfcee79 100644
--- a/charset.h
+++ b/charset.h
@@ -10,22 +10,21 @@
#include "tools.h"
#include <vdr/epg.h>
-#include <vdr/tools.h>
-#include <stdio.h>
class cCharSet : public cListItem
{
private:
- char *charset;
+ char *origcharset;
+ char *realcharset;
public:
cCharSet();
virtual ~cCharSet();
+ using cListItem::Apply;
virtual bool Apply(cEvent *Event);
void SetFromString(char *string, bool Enabled);
- virtual void PrintConfigLineToFile(FILE *f);
};
// Global instance
-extern cEpgfixerList<cCharSet> EpgfixerCharSets;
+extern cEpgfixerList<cCharSet, cEvent> EpgfixerCharSets;
#endif //__EPGFIXER_CHARSET_H_