|
vdr
2.2.0
|
#include "menu.h"#include "iconpatch.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 "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 | CAMMENURETYTIMEOUT 3 |
| #define | CAMRESPONSETIMEOUT 5 |
| #define | MINFREEDISK 300 |
| #define | NODISKSPACEDELTA 300 |
| #define | MAXCHNAMWIDTH 16 |
| #define | CHNUMWIDTH (numdigits(Channels.MaxNumber()) + 1) |
| #define | CHNAMWIDTH (min(MAXCHNAMWIDTH, Channels.MaxShortChannelNameLength() + 1)) |
| #define | CHANNELNUMBERTIMEOUT 1000 |
| #define | FOLDERDELIMCHARSUBST 0x01 |
| #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 (cList< cNestedItem > *List, char *Path) |
| cOsdObject * | CamControl (void) |
| bool | CamMenuActive (void) |
| static void | SetTrackDescriptions (int LiveChannel) |
Variables | |
| static const char * | TimerMatchChars [9] |
| static bool | CamMenuIsOpen = false |
| #define CAMMENURETYTIMEOUT 3 |
Definition at line 46 of file menu.c.
Referenced by cMenuSetupCAM::Menu().
| #define CAMRESPONSETIMEOUT 5 |
Definition at line 47 of file menu.c.
Referenced by cMenuCam::ProcessKey().
| #define CHANNELNUMBERTIMEOUT 1000 |
Definition at line 348 of file menu.c.
Referenced by cMenuChannels::Number().
| #define CHNAMWIDTH (min(MAXCHNAMWIDTH, Channels.MaxShortChannelNameLength() + 1)) |
Definition at line 53 of file menu.c.
Referenced by cMenuSchedule::PrepareScheduleAllAll(), and cMenuSchedule::PrepareScheduleThisAll().
| #define CHNUMWIDTH (numdigits(Channels.MaxNumber()) + 1) |
Definition at line 52 of file menu.c.
Referenced by cMenuSchedule::PrepareScheduleAllAll(), and cMenuSchedule::PrepareScheduleThisAll().
| #define DEFERTIMER 60 |
Definition at line 41 of file menu.c.
Referenced by cRecordControl::cRecordControl().
| #define FOLDERDELIMCHARSUBST 0x01 |
Definition at line 778 of file menu.c.
Referenced by AddRecordingFolders().
| #define INSTANT_REC_EPG_LOOKAHEAD 300 |
Definition at line 4902 of file menu.c.
Referenced by cRecordControl::GetEvent().
| #define MAXINSTANTRECTIME (24 * 60 - 1) |
Definition at line 44 of file menu.c.
Referenced by cMenuSetupRecord::cMenuSetupRecord().
| #define MAXRECORDCONTROLS (MAXDEVICES * MAXRECEIVERS) |
Definition at line 43 of file menu.c.
Referenced by cRecordControls::Active(), cRecordControls::ChannelDataModified(), cRecordControls::GetInstantId(), cRecordControls::GetRecordControl(), cRecordControl::Process(), cRecordControls::Process(), cRecordControls::Shutdown(), cRecordControls::Start(), and cRecordControls::Stop().
| #define MAXWAIT4EPGINFO 3 |
Definition at line 36 of file menu.c.
Referenced by cRecordControl::GetEvent().
| #define MAXWAITFORCAMMENU 10 |
Definition at line 45 of file menu.c.
Referenced by cMenuSetupCAM::Menu().
| #define MINFREEDISK 300 |
Definition at line 48 of file menu.c.
Referenced by cRecordControls::Start().
| #define MODETIMEOUT 3 |
Definition at line 37 of file menu.c.
Referenced by cReplayControl::ShowMode().
| #define MUTETIMEOUT 5000 |
Definition at line 4525 of file menu.c.
Referenced by cDisplayVolume::cDisplayVolume(), and cDisplayVolume::ProcessKey().
| #define NEWTIMERLIMIT 120 |
Definition at line 38 of file menu.c.
Referenced by cMenuWhatsOn::Record(), and cMenuSchedule::Record().
| #define NODISKSPACEDELTA 300 |
Definition at line 49 of file menu.c.
Referenced by cRecordControls::Start().
| #define STAY_SECONDS_OFF_END 10 |
Referenced by cReplayControl::TimeSearchProcess().
| #define STOP_RECORDING trNOOP(" Stop recording ") |
Definition at line 3948 of file menu.c.
Referenced by cMenuMain::ProcessKey(), and cMenuMain::Update().
| #define TRACKTIMEOUT 5000 |
Definition at line 4591 of file menu.c.
Referenced by cDisplaySubtitleTracks::cDisplaySubtitleTracks(), cDisplayTracks::cDisplayTracks(), cDisplayTracks::ProcessKey(), and cDisplaySubtitleTracks::ProcessKey().
| #define VOLUMETIMEOUT 1000 |
Definition at line 4524 of file menu.c.
Referenced by cDisplayVolume::cDisplayVolume(), and cDisplayVolume::ProcessKey().
|
static |
Definition at line 779 of file menu.c.
References cListBase::Add(), cVector< T >::Append(), cStringList::Find(), cList< T >::First(), FOLDERDELIMCHAR, FOLDERDELIMCHARSUBST, Folders, cList< T >::Next(), Recordings, cNestedItem::SetSubItems(), cVector< T >::Size(), cStringList::Sort(), strreplace(), cNestedItem::SubItems(), and cNestedItem::Text().
Referenced by cMenuFolder::Set().
| cOsdObject* CamControl | ( | void | ) |
Definition at line 2190 of file menu.c.
References CamSlots, cMenuCam::cMenuCam(), cList< T >::First(), and cList< T >::Next().
Referenced by cDisplaySubtitleTracks::IsOpen(), and main().
| bool CamMenuActive | ( | void | ) |
Definition at line 2199 of file menu.c.
References CamMenuIsOpen.
Referenced by cDisplaySubtitleTracks::IsOpen(), and main().
|
static |
Definition at line 4196 of file menu.c.
References Channels, cDevice::ClrAvailableTracks(), cComponents::Component(), cRecordingInfo::Components(), cEvent::Components(), cDisplayChannel::currentDisplayChannel, tComponent::description, cRecordings::GetByName(), cChannels::GetByNumber(), cSchedule::GetPresentEvent(), cSchedules::GetSchedule(), cRecording::Info(), tComponent::language, cReplayControl::NowReplaying(), cComponents::NumComponents(), cDevice::PrimaryDevice(), Recordings, cSchedules::Schedules(), 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 2008 of file menu.c.
Referenced by CamMenuActive(), cMenuCam::cMenuCam(), and cMenuCam::~cMenuCam().
|
static |
Definition at line 1392 of file menu.c.
Referenced by cMenuScheduleItem::Update().
1.8.11