summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-31 13:01:35 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-31 13:01:35 +0100
commitbd62ca6abc61827dd75962e952783acf83565949 (patch)
tree017e3e4475cfbd81674e0ae03d70de33d1ce2a5c /channels.h
parentfd9c2d298c0a8fb8e005b46a728841759b126430 (diff)
downloadvdr-bd62ca6abc61827dd75962e952783acf83565949.tar.gz
vdr-bd62ca6abc61827dd75962e952783acf83565949.tar.bz2
Added the 'portal name' to cChannels
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/channels.h b/channels.h
index 5d119620..62b00c3c 100644
--- a/channels.h
+++ b/channels.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.h 1.21 2004/10/31 12:41:38 kls Exp $
+ * $Id: channels.h 1.22 2004/10/31 12:54:26 kls Exp $
*/
#ifndef __CHANNELS_H
@@ -92,6 +92,7 @@ private:
char *name;
char *shortName;
char *provider;
+ char *portalName;
int __BeginData__;
int frequency; // MHz
int source;
@@ -136,6 +137,7 @@ public:
const char *Name(void) const { return name; }
const char *ShortName(bool OrName = false) const { return (OrName && isempty(shortName)) ? name : shortName; }
const char *Provider(void) const { return provider; }
+ const char *PortalName(void) const { return portalName; }
int Frequency(void) const { return frequency; } ///< Returns the actual frequency, as given in 'channels.conf'
int Transponder(void) const; ///< Returns the transponder frequency in MHz, plus the polarization in case of sat
static int Transponder(int Frequency, char Polarization); ///< builds the transponder from the given Frequency and Polarization
@@ -175,6 +177,7 @@ public:
bool SetTerrTransponderData(int Source, int Frequency, int Bandwidth, int Modulation, int Hierarchy, int CodeRateH, int CodeRateL, int Guard, int Transmission);
void SetId(int Nid, int Tid, int Sid, int Rid = 0);
void SetName(const char *Name, const char *ShortName, const char *Provider);
+ void SetPortalName(const char *PortalName);
void SetPids(int Vpid, int Ppid, int *Apids, char ALangs[][4], int *Dpids, char DLangs[][4], int Tpid);
void SetCaIds(const int *CaIds); // list must be zero-terminated
void SetCaDescriptors(int Level);