From e3bcc25ae1a789d416fa9c6332951ab6bacf47e6 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 2 Apr 2012 13:50:23 +0400 Subject: [PATCH] zapit/include/zapit/scan.h: add flags for scan channel types Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e857fe9033cafce68053d833b0371db8b97c1b25 Author: [CST] Focus Date: 2012-04-02 (Mon, 02 Apr 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/include/zapit/scan.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/zapit/include/zapit/scan.h b/src/zapit/include/zapit/scan.h index 0bb08285a..7252e0051 100644 --- a/src/zapit/include/zapit/scan.h +++ b/src/zapit/include/zapit/scan.h @@ -32,7 +32,12 @@ class CServiceScan : public OpenThreads::Thread SCAN_BAT = 0x02, SCAN_FTA = 0x04, SCAN_RESET_NUMBERS = 0x08, - SCAN_LOGICAL_NUMBERS = 0x10 + SCAN_LOGICAL_NUMBERS = 0x10, + SCAN_TV = 0x20, + SCAN_RADIO = 0x40, + SCAN_TVRADIO = 0x60, + SCAN_DATA = 0x80, + SCAN_ALL = 0xE0 } scan_flags_t; private: @@ -113,6 +118,7 @@ class CServiceScan : public OpenThreads::Thread uint32_t & FoundChannels() { return found_channels; }; void SetCableNID(unsigned short nid) { cable_nid = nid; } bool isFtaOnly() { return flags & SCAN_FTA; } + int GetFlags() { return flags; } }; #endif /* __scan_h__ */