/usr/include/vdr/lirc.h is in vdr-dev 2.2.0-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | /*
* lirc.h: LIRC remote control
*
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: lirc.h 3.0 2006/01/27 16:00:19 kls Exp $
*/
#ifndef __LIRC_H
#define __LIRC_H
#include <sys/un.h>
#include "remote.h"
#include "thread.h"
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();
virtual bool Ready(void);
};
#endif //__LIRC_H
|