vdr  2.4.0
Classes | Macros | Functions
channels.c File Reference
#include "channels.h"
#include <ctype.h>
#include "device.h"
#include "libsi/si.h"
Include dependency graph for channels.c:

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)
 

Macro Definition Documentation

◆ CHANNELMARKOBSOLETE

#define CHANNELMARKOBSOLETE   "OBSOLETE"

Definition at line 1096 of file channels.c.

◆ CHANNELTIMEOBSOLETE

#define CHANNELTIMEOBSOLETE   3600

Definition at line 1097 of file channels.c.

◆ STRDIFF

#define STRDIFF   0x01

Definition at line 298 of file channels.c.

◆ VALDIFF

#define VALDIFF   0x02

Definition at line 299 of file channels.c.

Function Documentation

◆ ChannelString()

cString ChannelString ( const cChannel Channel,
int  Number 
)

Definition at line 1114 of file channels.c.

References cChannel::GroupSep(), cChannel::Name(), cChannel::Number(), and tr.

Referenced by cDisplayChannel::DisplayChannel(), cSkinClassicDisplayChannel::SetChannel(), cSkinSTTNGDisplayChannel::SetChannel(), cSkinCursesDisplayChannel::SetChannel(), and cSkinLCARSDisplayChannel::SetChannel().

Here is the caller graph for this function:

◆ IntArraysDiffer()

static int IntArraysDiffer ( const int *  a,
const int *  b,
const char  na[][MAXLANGCODE2] = NULL,
const char  nb[][MAXLANGCODE2] = NULL 
)
static

Definition at line 301 of file channels.c.

References STRDIFF, and VALDIFF.

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

◆ IntArrayToString()

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

Definition at line 317 of file channels.c.

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