summaryrefslogtreecommitdiff
path: root/lirc.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-27 16:03:32 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-27 16:03:32 +0100
commitb0678c91abfe06f97c789b06f91a25a7bc29dd23 (patch)
tree973946c0fdfee875305e8b7fd1fc5e04806bcbc3 /lirc.h
parent7398125f317987197b653638517f98f877511513 (diff)
downloadvdr-b0678c91abfe06f97c789b06f91a25a7bc29dd23.tar.gz
vdr-b0678c91abfe06f97c789b06f91a25a7bc29dd23.tar.bz2
Now trying to reestablish the connection to the LIRC daemon in case it breaks
Diffstat (limited to 'lirc.h')
-rw-r--r--lirc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lirc.h b/lirc.h
index 25b743fe..3c4735a8 100644
--- a/lirc.h
+++ b/lirc.h
@@ -4,12 +4,13 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: lirc.h 1.3 2005/07/31 10:18:15 kls Exp $
+ * $Id: lirc.h 1.4 2006/01/27 16:00:19 kls Exp $
*/
#ifndef __LIRC_H
#define __LIRC_H
+#include <sys/un.h>
#include "remote.h"
#include "thread.h"
@@ -17,7 +18,9 @@ class cLircRemote : public cRemote, private cThread {
private:
enum { LIRC_KEY_BUF = 30, LIRC_BUFFER_SIZE = 128 };
int f;
+ struct sockaddr_un addr;
virtual void Action(void);
+ bool Connect(void);
public:
cLircRemote(const char *DeviceName);
virtual ~cLircRemote();