summaryrefslogtreecommitdiff
path: root/import.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-05-05 17:42:12 +0200
committerJochen Dolze <vdr@dolze.de>2012-05-05 17:42:12 +0200
commit510d6a8c2690f4435ae2faafa64b896232ae8bbe (patch)
treefe809588b1109f675f4d5c8dbaf16aa9d9b7b03a /import.h
parent9706daedb3aeb2154e532d8a586f59b3166f8279 (diff)
downloadvdr-plugin-xmltv2vdr-510d6a8c2690f4435ae2faafa64b896232ae8bbe.tar.gz
vdr-plugin-xmltv2vdr-510d6a8c2690f4435ae2faafa64b896232ae8bbe.tar.bz2
Added option 'add shorttext/title from list'v0.1.1
Added cGlobal class for global variables New version 0.1.1
Diffstat (limited to 'import.h')
-rw-r--r--import.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/import.h b/import.h
index b278cae..a4bd89d 100644
--- a/import.h
+++ b/import.h
@@ -18,6 +18,7 @@
class cEPGSource;
class cEPGExecutor;
+class cGlobals;
class cImport
{
@@ -41,6 +42,7 @@ private:
cTEXTMappings *texts;
cCharSetConv *conv;
const char *codeset;
+ const char *imgdir;
iconv_t cep2ascii;
iconv_t cutf2ascii;
const char *epdir;
@@ -58,8 +60,9 @@ private:
char *RemoveNonASCII(const char *src);
cXMLTVEvent *PrepareAndReturn(sqlite3 *db, char *sql);
public:
- cImport(const char *EPGFile, const char *EPDir, const char *CodeSet, cEPGMappings *Maps, cTEXTMappings *Texts);
+ cImport(cGlobals *Global);
~cImport();
+ void LinkPictures(const char *Source, cXMLTVStringList *Pics, tEventID DestID);
int Process(cEPGSource *Source, cEPGExecutor &myExecutor);
bool Begin(cEPGSource *Source, sqlite3 *Db);
bool Commit(cEPGSource *Source, sqlite3 *Db);
@@ -70,7 +73,7 @@ public:
const char *Description);
cXMLTVEvent *SearchXMLTVEvent(sqlite3 **Db, const char *ChannelID, const cEvent *Event);
cXMLTVEvent *AddXMLTVEvent(cEPGSource *Source, sqlite3 *Db, const char *ChannelID,
- const cEvent *Event, const char *EITDescription);
+ const cEvent *Event, const char *EITDescription, bool UseEPText);
bool WasChanged(cEvent *Event);
};