mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
src/gui/keybind_setup.cpp: change ifdef for RC_HW_SELECT
Origin commit data
------------------
Branch: ni/coolstream
Commit: c9bf61511b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-11 (Fri, 11 Jan 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -33,20 +33,6 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_COOLSTREAM_CS_IR_GENERIC_H
|
|
||||||
/* define constants instead of #ifdef'ing the corresponding code.
|
|
||||||
* the compiler will optimize it away anyway, but the syntax is
|
|
||||||
* still checked */
|
|
||||||
#define RC_HW_SELECT true
|
|
||||||
#else
|
|
||||||
#define RC_HW_SELECT false
|
|
||||||
#ifdef HAVE_COOL_HARDWARE
|
|
||||||
#warning header coolstream/cs_ir_generic.h not found
|
|
||||||
#warning you probably have an old driver installation
|
|
||||||
#warning you´ll be missing the remotecontrol selection feature!
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "keybind_setup.h"
|
#include "keybind_setup.h"
|
||||||
|
|
||||||
#include <global.h>
|
#include <global.h>
|
||||||
@@ -65,6 +51,19 @@
|
|||||||
|
|
||||||
#include <system/debug.h>
|
#include <system/debug.h>
|
||||||
|
|
||||||
|
#ifdef IOC_IR_SET_PRI_PROTOCOL
|
||||||
|
/* define constants instead of #ifdef'ing the corresponding code.
|
||||||
|
* the compiler will optimize it away anyway, but the syntax is
|
||||||
|
* still checked */
|
||||||
|
#define RC_HW_SELECT true
|
||||||
|
#else
|
||||||
|
#define RC_HW_SELECT false
|
||||||
|
#ifdef HAVE_COOL_HARDWARE
|
||||||
|
#warning header coolstream/cs_ir_generic.h not found
|
||||||
|
#warning you probably have an old driver installation
|
||||||
|
#warning you´ll be missing the remotecontrol selection feature!
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
CKeybindSetup::CKeybindSetup()
|
CKeybindSetup::CKeybindSetup()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user