summaryrefslogtreecommitdiff
path: root/regexp.c
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 /regexp.c
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 'regexp.c')
-rw-r--r--regexp.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/regexp.c b/regexp.c
index dd6856c..bef3590 100644
--- a/regexp.c
+++ b/regexp.c
@@ -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)