mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
neutrino: start to use hardware_caps
Use hardware_caps instead of cs_get_revision() and #ifdef HAVE_FOO_HW
to distinguish between different boxtypes.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 04ee2e87f3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-09-23 (Sun, 23 Sep 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
#include <zapit/client/zapitclient.h>
|
||||
#include <zapit/client/zapittools.h>
|
||||
|
||||
#include <hardware_caps.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#if HAVE_COOL_HARDWARE
|
||||
@@ -662,6 +664,7 @@ struct SglobalInfo
|
||||
unsigned char box_Type;
|
||||
delivery_system_t delivery_system;
|
||||
bool has_fan;
|
||||
hw_caps_t *hw_caps;
|
||||
};
|
||||
|
||||
const int RECORDING_OFF = 0;
|
||||
|
Reference in New Issue
Block a user