You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
310 B
28 lines
310 B
8 years ago
|
|
||
|
#ifndef __rc_h__
|
||
|
#define __rc_h__
|
||
|
|
||
|
#ifdef HAVE_CONFIG_H
|
||
|
#include <config.h>
|
||
|
#endif
|
||
|
|
||
|
//rc stuff
|
||
|
#include <linux/input.h>
|
||
|
|
||
|
class Crc
|
||
|
{
|
||
|
public:
|
||
|
Crc();
|
||
|
~Crc();
|
||
|
static Crc* getInstance();
|
||
|
|
||
|
long int getrc();
|
||
|
void Cleanup (void);
|
||
|
private:
|
||
|
int rc;
|
||
|
struct input_event ev;
|
||
|
|
||
|
int GetRCCode();
|
||
|
};
|
||
|
#endif
|