diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-02-01 13:49:10 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-02-01 13:49:10 +0100 |
commit | 1c4865147a01aec70fe6b8d1d4b5bd071c431cff (patch) | |
tree | 1539d779750086e0854e4b132da8e5a13089d499 /channels.h | |
parent | b3bc711ed2419df537d5e84baa5546ac80c7a666 (diff) | |
download | vdr-1c4865147a01aec70fe6b8d1d4b5bd071c431cff.tar.gz vdr-1c4865147a01aec70fe6b8d1d4b5bd071c431cff.tar.bz2 |
Added support for LCN (Logical Channel Numbers)2.1.8
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.h 3.2 2014/01/04 15:01:21 kls Exp $ + * $Id: channels.h 3.3 2015/02/01 13:30:26 kls Exp $ */ #ifndef __CHANNELS_H @@ -121,6 +121,7 @@ private: int tid; int sid; int rid; + int lcn; // Logical channel number assigned by data stream (or -1 if not available) int number; // Sequence number assigned on load bool groupSep; int __EndData__; @@ -174,6 +175,7 @@ public: int Tid(void) const { return tid; } int Sid(void) const { return sid; } int Rid(void) const { return rid; } + int Lcn(void) const { return lcn; } int Number(void) const { return number; } void SetNumber(int Number) { number = Number; } bool GroupSep(void) const { return groupSep; } @@ -192,6 +194,7 @@ public: void CopyTransponderData(const cChannel *Channel); bool SetTransponderData(int Source, int Frequency, int Srate, const char *Parameters, bool Quiet = false); void SetId(int Nid, int Tid, int Sid, int Rid = 0); + void SetLcn(int Lcn); void SetName(const char *Name, const char *ShortName, const char *Provider); void SetPortalName(const char *PortalName); void SetPids(int Vpid, int Ppid, int Vtype, int *Apids, int *Atypes, char ALangs[][MAXLANGCODE2], int *Dpids, int *Dtypes, char DLangs[][MAXLANGCODE2], int *Spids, char SLangs[][MAXLANGCODE2], int Tpid); |