diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-05-20 00:21:50 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-05-20 00:21:50 +0000 |
| commit | 75db34c299094d2ae87941ed464e8efa79848e16 (patch) | |
| tree | 4d63a8aa488112c6d58d05440ae488f7c86a911e /lib/dvb/idvb.h | |
| parent | d0812009f069ba9aee256ba1fb8c54f2ffba671d (diff) | |
| download | enigma2-75db34c299094d2ae87941ed464e8efa79848e16.tar.gz enigma2-75db34c299094d2ae87941ed464e8efa79848e16.zip | |
many changes for better CI handling
- the CI is now working on both tuners
- the CI is no more blocked by freetv services
- add multi services support (on same transponder) (yet hardcoded for Alphacrypt only)
- fix bluescreen in CI MMI dialog when pressin ok/left/right
Diffstat (limited to 'lib/dvb/idvb.h')
| -rw-r--r-- | lib/dvb/idvb.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h index 8b86866e..8bbbaafa 100644 --- a/lib/dvb/idvb.h +++ b/lib/dvb/idvb.h @@ -18,6 +18,14 @@ #include <libsig_comp.h> #include <connection.h> +#if defined(__GNUC__) && ((__GNUC__ == 3 && __GNUC_MINOR__ >= 1) || __GNUC__ == 4 ) // check if gcc version >= 3.1 +#include <ext/slist> +#define CAID_LIST __gnu_cxx::slist<uint16_t> +#else +#include <slist> +#define CAID_LIST std::slist<uint16_t> +#endif + struct eBouquet { std::string m_bouquet_name; @@ -220,6 +228,9 @@ class eDVBChannelQuery; class eDVBService: public iStaticServiceInformation { DECLARE_REF(eDVBService); + int *m_cache; + void initCache(); + void copyCache(int *source); public: enum cacheID { @@ -250,9 +261,8 @@ public: bool usePMT() const { return !(m_flags & dxNoDVB); } -// std::set<int> m_ca; + CAID_LIST m_ca; - int m_cache[cacheMax]; virtual ~eDVBService(); eDVBService &operator=(const eDVBService &); |
