summaryrefslogtreecommitdiff
path: root/vdr-androvdr/handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'vdr-androvdr/handler.h')
-rw-r--r--vdr-androvdr/handler.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/vdr-androvdr/handler.h b/vdr-androvdr/handler.h
new file mode 100644
index 0000000..660d4a1
--- /dev/null
+++ b/vdr-androvdr/handler.h
@@ -0,0 +1,20 @@
+/*
+ * message and event handling
+ */
+
+#ifndef _VDRMON_HANDLER
+#define _VDRMON_HANDLER
+
+
+class cVdrmanagerSocket;
+class cSelect;
+class cHandler
+{
+public:
+ bool HandleNewClient(cVdrmanagerClientSocket * sock);
+ bool HandleVdrEvent(cVdrmanagerClientSocket * sock, string& msg);
+ bool HandleClientRequest(cVdrmanagerClientSocket * sock);
+ bool HandleNewClient(cSelect * select, cVdrmanagerClientSocket * sock);
+};
+
+#endif