diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-04-07 16:55:39 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-04-07 16:55:39 +0200 |
commit | 11d34a334a55b98950634be3612ed78eece8407d (patch) | |
tree | 48ec4082255ac2d87808e61db268e33240f9771f /import.h | |
parent | 4d5bfc7c68db5776711b21fbcef70d02f22b5789 (diff) | |
download | vdr-plugin-xmltv2vdr-11d34a334a55b98950634be3612ed78eece8407d.tar.gz vdr-plugin-xmltv2vdr-11d34a334a55b98950634be3612ed78eece8407d.tar.bz2 |
Fixed execution check
Cosmetics and more (debug) output
Diffstat (limited to 'import.h')
-rw-r--r-- | import.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -59,17 +59,18 @@ private: cEvent *SearchVDREvent(cSchedule* schedule, cXMLTVEvent *event); bool FetchXMLTVEvent(sqlite3_stmt *stmt, cXMLTVEvent *xevent); char *RemoveNonASCII(const char *src); - cXMLTVEvent *PrepareAndReturn(sqlite3 *db, char *sql, sqlite3_stmt *stmt); + cXMLTVEvent *PrepareAndReturn(sqlite3 *db, char *sql, sqlite3_stmt *stmt); public: cImport(cEPGSource *Source, cEPGMappings *Maps, cTEXTMappings *Texts); ~cImport(); int Process(cEPGExecutor &myExecutor); - bool WasChanged(cEvent *event); + bool WasChanged(cEvent *Event); bool PutEvent(cEPGSource *source, sqlite3 *db, cSchedule* schedule, cEvent *event, cXMLTVEvent *xevent, int Flags, int Option=IMPORT_ALL); - cXMLTVEvent *SearchXMLTVEvent(const char *EPGFile, const char *ChannelID, const cEvent *event); - void UpdateXMLTVEvent(const char *EPGFile, sqlite3 *db, const char *Source, tEventID EventID, - tEventID EITEventID, const char *EITDescription=NULL); + cXMLTVEvent *SearchXMLTVEvent(const char *EPGFile, const char *ChannelID, const cEvent *Event); + void UpdateXMLTVEvent(cEPGSource *Source, const char *EPGFile, sqlite3 *Db, const cEvent *Event, + const char *SourceName, tEventID EventID, tEventID EITEventID, + const char *EITDescription=NULL); cXMLTVEvent *AddXMLTVEvent(const char *EPGFile, const char *ChannelID, const cEvent *Event, const char *EITDescription); }; |