diff options
author | horchi <vdr@jwendel.de> | 2017-03-05 16:39:28 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-03-05 16:39:28 +0100 |
commit | e2a48d8701f91b8e24fbe9e99e91eb72a87bb749 (patch) | |
tree | 726f70554b4ca985a09ef6e30a7fdc8df089993c /PLUGINS/epgdata/epgdata.h | |
download | vdr-epg-daemon-e2a48d8701f91b8e24fbe9e99e91eb72a87bb749.tar.gz vdr-epg-daemon-e2a48d8701f91b8e24fbe9e99e91eb72a87bb749.tar.bz2 |
git init1.1.103
Diffstat (limited to 'PLUGINS/epgdata/epgdata.h')
-rw-r--r-- | PLUGINS/epgdata/epgdata.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/PLUGINS/epgdata/epgdata.h b/PLUGINS/epgdata/epgdata.h new file mode 100644 index 0000000..0bb0d88 --- /dev/null +++ b/PLUGINS/epgdata/epgdata.h @@ -0,0 +1,52 @@ +/* + * epgdata.h + * + * See the README file for copyright information + * + */ + +#include "epgd.h" + +//*************************************************************************** +// Epgdata +//*************************************************************************** + +class Epgdata : public Plugin +{ + public: + + Epgdata(); + virtual ~Epgdata(); + + int init(cEpgd* aObject, int aUtf8); + int initDb(); + int exitDb(); + int atConfigItem(const char* Name, const char* Value); + + const char* getSource() { return "epgdata"; } + + int getPicture(const char* imagename, const char* fileRef, MemoryStruct* data); + int processDay(int day, int fullupdate, Statistic* statistic); + int cleanupAfter(); + int ready(); + + protected: + + int processFile(const char* data, int size, const char* fileRef); + + cDbValue valueNameLike; + cDbValue valueName; + cDbValue valueFileRef; + cDbStatement* stmtByFileRef; + cDbStatement* stmtCleanDouble; + cDbStatement* selectId; + cDbStatement* selectByDate; + cDbStatement* stmtMarkOldEvents; + xsltStylesheetPtr pxsltStylesheet; + + // config + + char* baseurl; + int timeout; + char* pin; +}; |