summaryrefslogtreecommitdiff
path: root/lirc.h
blob: cd3c780d00444847d16a5210046fc61149804fa0 (plain)
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
/*
 * lirc.h: LIRC remote control
 *
 * See the main source file 'vdr.c' for copyright information and
 * how to reach the author.
 *
 * $Id: lirc.h 1.2 2003/04/12 14:15:20 kls Exp $
 */

#ifndef __LIRC_H
#define __LIRC_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;
  virtual void Action(void);
public:
  cLircRemote(char *DeviceName);
  virtual ~cLircRemote();
  virtual bool Ready(void);
  };

#endif //__LIRC_H