vdr  1.7.27
Classes | Defines | 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"

Go to the source code of this file.

Classes

class  cChannelSorter

Defines

#define STRDIFF   0x01
#define VALDIFF   0x02

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

Define Documentation

#define STRDIFF   0x01

Definition at line 258 of file channels.c.

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

#define VALDIFF   0x02

Definition at line 259 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 261 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 277 of file channels.c.

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


Variable Documentation

Definition at line 811 of file channels.c.

Referenced by 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(), cMenuEditRecording::cMenuEditRecording(), cMenuEditTranItem::cMenuEditTranItem(), cMenuEvent::cMenuEvent(), cMenuSchedule::cMenuSchedule(), cMenuWhatsOn::cMenuWhatsOn(), cTimer::cTimer(), cMenuChannels::Delete(), cSchedule::Dump(), cDevice::ForceTransferMode(), main(), 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(), cMenuChannels::Propagate(), cSchedules::Read(), ReportEpgBugFixStats(), cMenuEditChanItem::Set(), cChannel::SetCaDescriptors(), cChannel::SetCaIds(), cDevice::SetChannel(), cChannel::SetId(), cChannel::SetName(), cChannel::SetPids(), cChannel::SetPortalName(), cChannel::SetTeletextSubtitlePages(), SetTrackDescriptions(), cChannel::SetTransponderData(), cMenuChannels::Setup(), cRecordControls::Start(), cMenuWhatsOn::Switch(), cMenuSchedule::Switch(), cDevice::SwitchChannel(), cChannel::~cChannel(), and cMenuChannels::~cMenuChannels().