1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
/*
* thread.h: thread doing the actual work
*
* See the README file for copyright information and how to reach the author.
*/
#ifndef _EPGSYNC_THREAD__H
#define _EPGSYNC_THREAD__H
#include <vdr/thread.h>
#include <vdr/tools.h>
#include <vdr/plugin.h>
#include "../svdrpservice/svdrpservice.h"
class cEpgSyncThread: public cThread {
private:
cPlugin *plugin;
SvdrpConnection_v1_0 svdrp;
protected:
virtual void Action();
bool CmdLSTE(FILE *f, const char *Arg = NULL);
void AddSchedule(FILE *f);
public:
cEpgSyncThread();
virtual ~cEpgSyncThread();
};
#endif //_EPGSYNC_THREAD__H
|