vdr
2.6.1
|
#include "menu.h"
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "channels.h"
#include "config.h"
#include "cutter.h"
#include "eitscan.h"
#include "i18n.h"
#include "interface.h"
#include "plugin.h"
#include "recording.h"
#include "remote.h"
#include "shutdown.h"
#include "sourceparams.h"
#include "sources.h"
#include "status.h"
#include "svdrp.h"
#include "themes.h"
#include "timers.h"
#include "transfer.h"
#include "videodir.h"
Go to the source code of this file.
Classes | |
class | cMenuEditCaItem |
class | cMenuEditSrcItem |
class | cMenuEditChannel |
class | cMenuChannelItem |
class | cMenuChannels |
class | cMenuFolderItem |
class | cMenuEditFolder |
class | cMenuTimerItem |
class | cMenuTimers |
class | cMenuScheduleItem |
class | cMenuWhatsOn |
class | cMenuSchedule |
class | cMenuCam |
class | cMenuPathEdit |
class | cMenuRecordingEdit |
class | cMenuRecording |
class | cMenuRecordingItem |
class | cMenuSetupBase |
class | cMenuSetupOSD |
class | cMenuSetupEPG |
class | cMenuSetupDVB |
class | cMenuSetupLNB |
class | cMenuSetupCAMItem |
class | cMenuSetupCAM |
class | cMenuSetupRecord |
class | cMenuSetupReplay |
class | cMenuSetupMisc |
class | cMenuSetupPluginItem |
class | cMenuSetupPlugins |
class | cMenuSetup |
class | cMenuPluginItem |
Macros | |
#define | MAXWAIT4EPGINFO 3 |
#define | MODETIMEOUT 3 |
#define | NEWTIMERLIMIT 120 |
#define | DEFERTIMER 60 |
#define | MAXRECORDCONTROLS (MAXDEVICES * MAXRECEIVERS) |
#define | MAXINSTANTRECTIME (24 * 60 - 1) |
#define | MAXWAITFORCAMMENU 10 |
#define | CAMMENURETRYTIMEOUT 3 |
#define | CAMRESPONSETIMEOUT 5 |
#define | PROGRESSTIMEOUT 100 |
#define | MINFREEDISK 300 |
#define | NODISKSPACEDELTA 300 |
#define | MAXCHNAMWIDTH 16 |
#define | CHNUMWIDTH (numdigits(cChannels::MaxNumber()) + 1) |
#define | CHNAMWIDTH (min(MAXCHNAMWIDTH, cChannels::MaxShortChannelNameLength() + 1)) |
#define | CHANNELNUMBERTIMEOUT 1000 |
#define | FOLDERDELIMCHARSUBST 0x01 |
#define | osUserRecRenamed osUser1 |
#define | osUserRecMoved osUser2 |
#define | osUserRecRemoved osUser3 |
#define | osUserRecEmpty osUser4 |
#define | STOP_RECORDING trNOOP(" Stop recording ") |
#define | VOLUMETIMEOUT 1000 |
#define | MUTETIMEOUT 5000 |
#define | TRACKTIMEOUT 5000 |
#define | INSTANT_REC_EPG_LOOKAHEAD 300 |
#define | STAY_SECONDS_OFF_END 10 |
Functions | |
static void | AddRecordingFolders (const cRecordings *Recordings, cList< cNestedItem > *List, char *Path) |
static bool | RemoteTimerError (const cTimer *Timer) |
static bool | HandleRemoteModifications (cTimer *NewTimer, cTimer *OldTimer=NULL) |
cOsdObject * | CamControl (void) |
bool | CamMenuActive (void) |
static bool | TimerStillRecording (const char *FileName) |
static void | SetTrackDescriptions (int LiveChannel) |
Variables | |
static const char * | TimerFileMacrosForPattern [] |
static const char * | TimerFileMacros [] |
static const char * | TimerMatchChars = " tT iI" |
static bool | CamMenuIsOpen = false |
#define CHNAMWIDTH (min(MAXCHNAMWIDTH, cChannels::MaxShortChannelNameLength() + 1)) |
#define CHNUMWIDTH (numdigits(cChannels::MaxNumber()) + 1) |
#define MAXRECORDCONTROLS (MAXDEVICES * MAXRECEIVERS) |
#define STAY_SECONDS_OFF_END 10 |
|
static |
Definition at line 822 of file menu.c.
References cVector< T >::Append(), cStringList::Find(), cList< T >::First(), FOLDERDELIMCHAR, FOLDERDELIMCHARSUBST, Folders, cList< T >::Next(), cNestedItem::SetSubItems(), cVector< T >::Size(), cStringList::Sort(), strreplace(), cNestedItem::SubItems(), and cNestedItem::Text().
Referenced by cMenuFolder::Set().
cOsdObject* CamControl | ( | void | ) |
Definition at line 2490 of file menu.c.
References CamSlots, cList< T >::First(), and cList< T >::Next().
Referenced by main().
bool CamMenuActive | ( | void | ) |
Definition at line 1136 of file menu.c.
References HandleRemoteTimerModifications(), mtError, cSkins::QueueMessage(), and Skins.
Referenced by cMenuTimers::Delete(), cMenuEditTimer::ProcessKey(), cMenuWhatsOn::Record(), cMenuSchedule::Record(), and TimerStillRecording().
|
static |
Definition at line 1130 of file menu.c.
References cTimer::Id(), cSkins::Message(), mtError, cTimer::Remote(), Skins, cString::sprintf(), and tr.
Referenced by cMenuTimers::OnOff().
|
static |
Definition at line 4756 of file menu.c.
References cDevice::ClrAvailableTracks(), cComponents::Component(), cEvent::Components(), tComponent::description, tComponent::language, LOCK_CHANNELS_READ, LOCK_RECORDINGS_READ, LOCK_SCHEDULES_READ, cReplayControl::NowReplaying(), cComponents::NumComponents(), cDevice::PrimaryDevice(), cDevice::SetAvailableTrack(), tComponent::stream, ttAudio, ttDolby, ttSubtitle, and tComponent::type.
Referenced by cDisplaySubtitleTracks::cDisplaySubtitleTracks(), cDisplayTracks::cDisplayTracks(), cReplayControl::cReplayControl(), cDisplayChannel::DisplayInfo(), and cDisplayChannel::ProcessKey().
|
static |
Definition at line 3267 of file menu.c.
References cInterface::Confirm(), cRecordControls::GetRecordControl(), GetRecordingTimerId(), HandleRemoteModifications(), Interface, isyslog, LOCK_TIMERS_WRITE, cRecordControls::Process(), cTimer::Skip(), StateKeySVDRPRemoteTimersPoll, and tr.
Referenced by cMenuRecordings::Delete().
|
static |
Definition at line 2306 of file menu.c.
Referenced by CamMenuActive(), cMenuCam::cMenuCam(), and cMenuCam::~cMenuCam().
|
static |
Definition at line 1006 of file menu.c.
Referenced by cMenuEditTimer::SetPatternItem().
|
static |
Definition at line 996 of file menu.c.
Referenced by cMenuEditTimer::SetPatternItem().
|
static |
Definition at line 1598 of file menu.c.
Referenced by cMenuScheduleItem::Update().