vdr  2.2.0
Classes | Macros | Functions | Variables
channels.c File Reference
#include "channels.h"
#include <ctype.h>
#include "device.h"
#include "epg.h"
#include "libsi/si.h"
#include "timers.h"
#include "dvbdevice.h"

Go to the source code of this file.

Classes

class  cChannelSorter
 

Macros

#define STRDIFF   0x01
 
#define VALDIFF   0x02
 
#define CHANNELMARKOBSOLETE   "OBSOLETE"
 
#define CHANNELTIMEOBSOLETE   3600
 

Functions

static int IntArraysDiffer (const int *a, const int *b, const char na[][MAXLANGCODE2]=NULL, const char nb[][MAXLANGCODE2]=NULL)
 
static int IntArrayToString (char *s, const int *a, int Base=10, const char n[][MAXLANGCODE2]=NULL, const int *t=NULL)
 
cString ChannelString (const cChannel *Channel, int Number)
 

Variables

cChannels Channels
 

Macro Definition Documentation

#define CHANNELMARKOBSOLETE   "OBSOLETE"

Definition at line 1131 of file channels.c.

Referenced by cChannels::MarkObsoleteChannels().

#define CHANNELTIMEOBSOLETE   3600

Definition at line 1132 of file channels.c.

Referenced by cChannels::MarkObsoleteChannels().

#define STRDIFF   0x01

Definition at line 299 of file channels.c.

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

#define VALDIFF   0x02

Definition at line 300 of file channels.c.

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

Function Documentation

cString ChannelString ( const cChannel Channel,
int  Number 
)
static int IntArraysDiffer ( const int *  a,
const int *  b,
const char  na[][MAXLANGCODE2] = NULL,
const char  nb[][MAXLANGCODE2] = NULL 
)
static

Definition at line 302 of file channels.c.

References STRDIFF, and VALDIFF.

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

static int IntArrayToString ( char *  s,
const int *  a,
int  Base = 10,
const char  n[][MAXLANGCODE2] = NULL,
const int *  t = NULL 
)
static

Definition at line 318 of file channels.c.

Referenced by cChannel::SetCaIds(), cChannel::SetPids(), and cChannel::ToText().

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().