vdr
2.6.1
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 1.4 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
cLircRemote
Definition:
include/vdr/lirc.h:17
cLircRemote::Ready
virtual bool Ready(void)
cLircRemote::addr
struct sockaddr_un addr
Definition:
include/vdr/lirc.h:21
cLircRemote::LIRC_KEY_BUF
@ LIRC_KEY_BUF
Definition:
include/vdr/lirc.h:19
cLircRemote::LIRC_BUFFER_SIZE
@ LIRC_BUFFER_SIZE
Definition:
include/vdr/lirc.h:19
cLircRemote::f
int f
Definition:
include/vdr/lirc.h:20
cLircRemote::~cLircRemote
virtual ~cLircRemote()
cLircRemote::Action
virtual void Action(void)
A derived cThread class must implement the code it wants to execute as a separate thread in this func...
cLircRemote::cLircRemote
cLircRemote(const char *DeviceName)
cLircRemote::Connect
bool Connect(void)
cRemote
Definition:
include/vdr/remote.h:20
cThread
Definition:
include/vdr/thread.h:79
remote.h
thread.h
Generated by
1.9.4