rcinput: fix build without nevis_ir.h

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2062 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: fe1fcbe426
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-01-15 (Sun, 15 Jan 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-01-15 21:54:59 +00:00
parent 23c60989d0
commit 60ea1bea7c
2 changed files with 12 additions and 0 deletions

View File

@@ -32,12 +32,15 @@
#ifndef __MOD_rcinput__
#define __MOD_rcinput__
#include <config.h>
#include <linux/input.h>
#include <stdint.h>
#include <sys/types.h>
#include <string>
#include <vector>
#ifdef HAVE_COOLSTREAM_NEVIS_IR_H
#include <coolstream/nevis_ir.h>
#endif
#ifndef KEY_OK
#define KEY_OK 0x160
@@ -149,7 +152,9 @@ class CRCInput
int translate(int code, int num);
void calculateMaxFd(void);
int checkTimers();
#ifdef HAVE_COOLSTREAM_NEVIS_IR_H
void set_rc_hw(ir_protocol_t ir_protocol, unsigned int ir_address);
#endif
public:
//rc-code definitions
static const neutrino_msg_t RC_Repeat = 0x0400;