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:
Stefan Seyfried
2012-09-23 21:32:40 +02:00
parent dac8b5c7fd
commit 60e77c7e43
5 changed files with 104 additions and 44 deletions

View File

@@ -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;