vdr
2.0.4
Main Page
Namespaces
Classes
Files
File List
File Members
lirc.h
Go to the documentation of this file.
1
/*
2
* lirc.h: LIRC remote control
3
*
4
* See the main source file 'vdr.c' for copyright information and
5
* how to reach the author.
6
*
7
* $Id: lirc.h 2.0 2006/01/27 16:00:19 kls Exp $
8
*/
9
10
#ifndef __LIRC_H
11
#define __LIRC_H
12
13
#include <sys/un.h>
14
#include "
remote.h
"
15
#include "
thread.h
"
16
17
class
cLircRemote
:
public
cRemote
,
private
cThread
{
18
private
:
19
enum
{
LIRC_KEY_BUF
= 30,
LIRC_BUFFER_SIZE
= 128 };
20
int
f
;
21
struct
sockaddr_un
addr
;
22
virtual
void
Action
(
void
);
23
bool
Connect
(
void
);
24
public
:
25
cLircRemote
(
const
char
*DeviceName);
26
virtual
~cLircRemote
();
27
virtual
bool
Ready
(
void
);
28
};
29
30
#endif //__LIRC_H
31
Generated by
1.8.3.1