vdr  2.2.0
Classes | Macros | Functions | Variables
channels.h File Reference
#include "config.h"
#include "sources.h"
#include "thread.h"
#include "tools.h"

Go to the source code of this file.

Classes

struct  tChannelID
 
struct  tTeletextSubtitlePage
 
class  cLinkChannel
 
class  cLinkChannels
 
class  cChannel
 
class  cChannels
 

Macros

#define ISTRANSPONDER(f1, f2)   (abs((f1) - (f2)) < 4)
 
#define CHANNELMOD_NONE   0x00
 
#define CHANNELMOD_ALL   0xFF
 
#define CHANNELMOD_NAME   0x01
 
#define CHANNELMOD_PIDS   0x02
 
#define CHANNELMOD_ID   0x04
 
#define CHANNELMOD_AUX   0x08
 
#define CHANNELMOD_CA   0x10
 
#define CHANNELMOD_TRANSP   0x20
 
#define CHANNELMOD_LANGS   0x40
 
#define CHANNELMOD_RETUNE   (CHANNELMOD_PIDS | CHANNELMOD_CA | CHANNELMOD_TRANSP)
 
#define CHANNELSMOD_NONE   0
 
#define CHANNELSMOD_AUTO   1
 
#define CHANNELSMOD_USER   2
 
#define MAXAPIDS   32
 
#define MAXDPIDS   16
 
#define MAXSPIDS   32
 
#define MAXCAIDS   12
 
#define MAXTXTPAGES   8
 
#define MAXLANGCODE1   4
 
#define MAXLANGCODE2   8
 
#define CA_FTA   0x0000
 
#define CA_DVB_MIN   0x0001
 
#define CA_DVB_MAX   0x000F
 
#define CA_USER_MIN   0x0010
 
#define CA_USER_MAX   0x00FF
 
#define CA_ENCRYPTED_MIN   0x0100
 
#define CA_ENCRYPTED_MAX   0xFFFF
 
#define LCN_OVERFLOW_OFFSET   1024
 

Functions

cString ChannelString (const cChannel *Channel, int Number)
 

Variables

cChannels Channels
 

Macro Definition Documentation

#define CA_DVB_MAX   0x000F

Definition at line 46 of file channels.h.

Referenced by cDevice::GetDevice().

#define CA_DVB_MIN   0x0001

Definition at line 45 of file channels.h.

#define CA_ENCRYPTED_MAX   0xFFFF

Definition at line 50 of file channels.h.

#define CA_ENCRYPTED_MIN   0x0100
#define CA_FTA   0x0000

Definition at line 44 of file channels.h.

Referenced by cMenuEditCaItem::ProcessKey(), and cMenuEditCaItem::Set().

#define CA_USER_MAX   0x00FF

Definition at line 48 of file channels.h.

Referenced by cChannel::Parse(), and cChannel::SetCaIds().

#define CA_USER_MIN   0x0010

Definition at line 47 of file channels.h.

#define CHANNELMOD_ALL   0xFF

Definition at line 21 of file channels.h.

Referenced by cChannel::GetChannelID(), and main().

#define CHANNELMOD_AUX   0x08

Definition at line 25 of file channels.h.

Referenced by cChannel::SetPids().

#define CHANNELMOD_CA   0x10

Definition at line 26 of file channels.h.

Referenced by cChannel::SetCaDescriptors(), and cChannel::SetCaIds().

#define CHANNELMOD_ID   0x04

Definition at line 24 of file channels.h.

Referenced by cChannel::SetId().

#define CHANNELMOD_LANGS   0x40

Definition at line 28 of file channels.h.

Referenced by cChannel::SetPids().

#define CHANNELMOD_NAME   0x01

Definition at line 22 of file channels.h.

Referenced by cChannel::SetName(), and cChannel::SetPortalName().

#define CHANNELMOD_NONE   0x00
#define CHANNELMOD_PIDS   0x02

Definition at line 23 of file channels.h.

Referenced by cChannel::SetPids(), and cChannel::SetTeletextSubtitlePages().

#define CHANNELMOD_RETUNE   (CHANNELMOD_PIDS | CHANNELMOD_CA | CHANNELMOD_TRANSP)

Definition at line 29 of file channels.h.

Referenced by main().

#define CHANNELMOD_TRANSP   0x20

Definition at line 27 of file channels.h.

Referenced by main(), and cChannel::SetTransponderData().

#define CHANNELSMOD_AUTO   1

Definition at line 32 of file channels.h.

Referenced by cChannels::SetModified().

#define CHANNELSMOD_NONE   0

Definition at line 31 of file channels.h.

Referenced by cChannels::cChannels(), and cChannels::Modified().

#define CHANNELSMOD_USER   2

Definition at line 33 of file channels.h.

Referenced by main(), and cChannels::SetModified().

#define ISTRANSPONDER (   f1,
  f2 
)    (abs((f1) - (f2)) < 4)
#define LCN_OVERFLOW_OFFSET   1024

Definition at line 52 of file channels.h.

Referenced by cChannels::ReNumber().

#define MAXAPIDS   32
#define MAXCAIDS   12
#define MAXDPIDS   16
#define MAXLANGCODE1   4

Definition at line 41 of file channels.h.

Referenced by cPatPmtParser::ParsePmt(), and cPatFilter::Process().

#define MAXLANGCODE2   8
#define MAXSPIDS   32
#define MAXTXTPAGES   8

Function Documentation

cString ChannelString ( const cChannel Channel,
int  Number 
)

Variable Documentation

cChannels Channels

Definition at line 864 of file channels.c.

Referenced by cMenuSetupCAM::Activate(), cEITScanner::Activity(), cSchedules::AddSchedule(), cDisplayChannel::cDisplayChannel(), cEIT::cEIT(), cSVDRP::CmdCHAN(), cSVDRP::CmdCLRE(), cSVDRP::CmdDELC(), cSVDRP::CmdLSTC(), cSVDRP::CmdLSTE(), cSVDRP::CmdMODC(), cSVDRP::CmdMOVC(), cSVDRP::CmdNEWC(), cMenuChannels::cMenuChannels(), cMenuEditChanItem::cMenuEditChanItem(), cMenuEditTranItem::cMenuEditTranItem(), cMenuEvent::cMenuEvent(), cMenuSchedule::cMenuSchedule(), cMenuWhatsOn::cMenuWhatsOn(), cTimer::cTimer(), cMenuChannels::Delete(), cSchedule::Dump(), cSkinLCARSDisplayMenu::Flush(), cDevice::ForceTransferMode(), main(), cChannels::MaxNumber(), cMenuChannels::Move(), cDisplayChannel::NextAvailableChannel(), cMenuSchedule::Number(), cTimer::Parse(), cMenuSchedule::PrepareScheduleAllAll(), cMenuSchedule::PrepareScheduleThisAll(), cSdtFilter::Process(), cPatFilter::Process(), cNitFilter::Process(), cEITScanner::Process(), cMenuEditTimer::ProcessKey(), cDisplayChannel::ProcessKey(), cMenuEditChanItem::ProcessKey(), cMenuEditTranItem::ProcessKey(), cMenuEditChannel::ProcessKey(), cMenuChannels::ProcessKey(), cMenuSchedule::ProcessKey(), cMenuSetupDVB::ProcessKey(), cMenuChannels::Propagate(), cSchedules::Read(), ReportEpgBugFixStats(), cMenuEditChanItem::Set(), cDvbHdFfDevice::SetAudioTrackDevice(), cChannel::SetCaDescriptors(), cChannel::SetCaIds(), cDevice::SetChannel(), cMenuWhatsOn::SetHelpKeys(), cMenuSchedule::SetHelpKeys(), cChannel::SetId(), cChannel::SetName(), cChannel::SetPids(), cChannel::SetPortalName(), cChannel::SetTeletextSubtitlePages(), SetTrackDescriptions(), cChannel::SetTransponderData(), cMenuChannels::Setup(), cRecordControls::Start(), cCamSlot::StartActivation(), cMenuWhatsOn::Switch(), cMenuSchedule::Switch(), cDevice::SwitchChannel(), cChannel::~cChannel(), and cMenuChannels::~cMenuChannels().