File: thread.h

package info (click to toggle)
vdr-plugin-epgsync 0.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 144 kB
  • ctags: 88
  • sloc: ansic: 969; makefile: 71; sh: 9
file content (28 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (3)
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