summaryrefslogtreecommitdiff
path: root/import.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-04-27 07:14:27 +0200
committerJochen Dolze <vdr@dolze.de>2012-04-27 07:14:27 +0200
commit40889067514769b356eb50d60d6a75889aeb99e3 (patch)
tree186f332caabe653bd458773623bd49739bb10ef2 /import.h
parentfaab1db375b46658959c22ddbd1977bc1fdeb50b (diff)
downloadvdr-plugin-xmltv2vdr-40889067514769b356eb50d60d6a75889aeb99e3.tar.gz
vdr-plugin-xmltv2vdr-40889067514769b356eb50d60d6a75889aeb99e3.tar.bz2
Added -e parameter for path to episodes dir
Diffstat (limited to 'import.h')
-rw-r--r--import.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/import.h b/import.h
index 747fcbd..8ab709d 100644
--- a/import.h
+++ b/import.h
@@ -41,6 +41,9 @@ private:
cTEXTMappings *texts;
cCharSetConv *conv;
char *codeset;
+ iconv_t cep2ascii;
+ iconv_t cutf2ascii;
+ const char *epdir;
bool pendingtransaction;
const char *epgfile;
char *RemoveLastCharFromDescription(char *description);
@@ -55,7 +58,7 @@ private:
char *RemoveNonASCII(const char *src);
cXMLTVEvent *PrepareAndReturn(sqlite3 *db, char *sql);
public:
- cImport(const char *EPGFile, cEPGMappings *Maps, cTEXTMappings *Texts);
+ cImport(const char *EPGFile, const char *EPDir, cEPGMappings *Maps, cTEXTMappings *Texts);
~cImport();
int Process(cEPGSource *Source, cEPGExecutor &myExecutor);
bool Begin(cEPGSource *Source, sqlite3 *Db);