summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/vdrmanagerthread.h
diff options
context:
space:
mode:
authorbju <bju@maxi.fritz.box>2011-03-31 00:37:16 +0200
committerbju <bju@maxi.fritz.box>2011-03-31 00:37:16 +0200
commit32ba3fb9f2a1f7b073b3a121762385ac237a2af8 (patch)
treef3cbdbe2ced3e202d0c1cd3d037a8ed3108817e2 /vdr-vdrmanager/vdrmanagerthread.h
parentacc1396153d7fb9c22d2b3cee3f2eef383ad681d (diff)
downloadvdr-manager-32ba3fb9f2a1f7b073b3a121762385ac237a2af8.tar.gz
vdr-manager-32ba3fb9f2a1f7b073b3a121762385ac237a2af8.tar.bz2
Renamed from androvdr to vdrmanager
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
+
+