diff options
author | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2012-05-12 14:42:01 +0300 |
---|---|---|
committer | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2012-05-12 14:42:01 +0300 |
commit | 6b488dcedf24cf9b4890505eba992d683eedecac (patch) | |
tree | 51347d76c4b2891568e54348d9ce0ab99304bd0b /regexp.c | |
parent | 548e0a6bc35d4c776039f7467c0d67eabf9ef46a (diff) | |
download | vdr-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 'regexp.c')
-rw-r--r-- | regexp.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -6,10 +6,9 @@ */ #include "regexp.h" -#include <unistd.h> /* Global instance */ -cEpgfixerList<cRegexp> EpgfixerRegexps; +cEpgfixerList<cRegexp, cEvent> EpgfixerRegexps; const char *strSources[] = { "title","shorttext","description","undefined" }; @@ -178,16 +177,6 @@ bool cRegexp::Apply(cEvent *Event) return false; } -void cRegexp::PrintConfigLineToFile(FILE *f) -{ - if (f) { - if (source == REGEXP_UNDEFINED) - fprintf(f, "%s\n", string); - else - fprintf(f, "%s%s\n", enabled ? "" : "!", string); - } -} - void cRegexp::ToggleEnabled(void) { if (source != REGEXP_UNDEFINED) |