summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/vdrmanagerthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'vdr-vdrmanager/vdrmanagerthread.h')
-rw-r--r--vdr-vdrmanager/vdrmanagerthread.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/vdr-vdrmanager/vdrmanagerthread.h b/vdr-vdrmanager/vdrmanagerthread.h
new file mode 100644
index 0000000..320f4ee
--- /dev/null
+++ b/vdr-vdrmanager/vdrmanagerthread.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
+
+