diff options
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 + + |