summaryrefslogtreecommitdiff
path: root/vdr-androvdr/handler.h
diff options
context:
space:
mode:
authorbju <bju@maxi.fritz.box>2011-03-19 15:54:21 +0100
committerbju <bju@maxi.fritz.box>2011-03-19 15:54:21 +0100
commitb4558f9dac4977c6ac933f52fc98b9eea9dfdbca (patch)
tree2f0c36309c44235d4bd8121d82271cd16bcd5348 /vdr-androvdr/handler.h
downloadvdr-manager-b4558f9dac4977c6ac933f52fc98b9eea9dfdbca.tar.gz
vdr-manager-b4558f9dac4977c6ac933f52fc98b9eea9dfdbca.tar.bz2
First revision
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