diff options
author | bju <bju@maxi.fritz.box> | 2011-03-19 15:54:21 +0100 |
---|---|---|
committer | bju <bju@maxi.fritz.box> | 2011-03-19 15:54:21 +0100 |
commit | b4558f9dac4977c6ac933f52fc98b9eea9dfdbca (patch) | |
tree | 2f0c36309c44235d4bd8121d82271cd16bcd5348 /vdr-androvdr/androvdrthread.h | |
download | vdr-manager-b4558f9dac4977c6ac933f52fc98b9eea9dfdbca.tar.gz vdr-manager-b4558f9dac4977c6ac933f52fc98b9eea9dfdbca.tar.bz2 |
First revision
Diffstat (limited to 'vdr-androvdr/androvdrthread.h')
-rw-r--r-- | vdr-androvdr/androvdrthread.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/vdr-androvdr/androvdrthread.h b/vdr-androvdr/androvdrthread.h new file mode 100644 index 0000000..320f4ee --- /dev/null +++ b/vdr-androvdr/androvdrthread.h @@ -0,0 +1,36 @@ +/* + * VdrmonThread + */ + +#ifndef _VDRMON_THREAD +#define _VDRMON_THREAD + +#include <sys/poll.h> +#include <vdr/plugin.h> +#include <vdr/thread.h> +#include <vdr/device.h> +#include <vdr/player.h> +#include <string> + +using namespace std; + +class cSelect; + +class cAndroVdrThread : public cThread { +private: + cSelect * select; + int port; + const char * password; +public: + cAndroVdrThread(int port, const char * password); + virtual void Action(void); + void Shutdown(); +private: + virtual ~cAndroVdrThread(); + void Cleanup(); + bool Init(); +}; + +#endif + + |