vdr
2.2.0
|
#include <tools.h>
Public Member Functions | |
virtual | ~cListBase () |
void | Add (cListObject *Object, cListObject *After=NULL) |
void | Ins (cListObject *Object, cListObject *Before=NULL) |
void | Del (cListObject *Object, bool DeleteObject=true) |
virtual void | Move (int From, int To) |
void | Move (cListObject *From, cListObject *To) |
virtual void | Clear (void) |
cListObject * | Get (int Index) const |
int | Count (void) const |
void | Sort (void) |
Protected Member Functions | |
cListBase (void) | |
Protected Attributes | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
|
protected |
Definition at line 2003 of file tools.c.
References count, lastObject, and objects.
void cListBase::Add | ( | cListObject * | Object, |
cListObject * | After = NULL |
||
) |
Definition at line 2014 of file tools.c.
References cListObject::Append(), count, cListObject::Insert(), lastObject, cListObject::Next(), and objects.
Referenced by cSectionHandler::Add(), cFilter::Add(), cTimers::Add(), cOsdMenu::Add(), cRecordingsHandler::Add(), cMarks::Add(), cHashBase::Add(), cRecordings::AddByName(), cCaDescriptors::AddCaDescriptor(), cCaDescriptorHandler::AddCaDescriptors(), cChannelCamRelations::AddEntry(), cSchedule::AddEvent(), cCamSlot::AddPid(), cPluginManager::AddPlugin(), AddRecordingFolders(), cDvbSubtitlePage::AddRegionRef(), cSchedules::AddSchedule(), cNestedItem::AddSubItem(), cScanList::AddTransponder(), cTransponderList::AddTransponder(), cSectionHandler::Attach(), cAudio::cAudio(), cCamSlot::cCamSlot(), cDeviceHook::cDeviceHook(), cDvbDeviceProbe::cDvbDeviceProbe(), cDynamicDeviceProbe::cDynamicDeviceProbe(), cEIT::cEIT(), cEpgHandler::cEpgHandler(), cSVDRP::CmdNEWC(), cMenuEditFolder::Confirm(), cRemote::cRemote(), cSkin::cSkin(), cSourceParam::cSourceParam(), cStatus::cStatus(), cRecordings::DelByName(), cChannels::DeleteDuplicateChannels(), cDvbSubtitleConverter::FinishPage(), cDvbSubtitlePage::GetClutById(), cSubtitleObjects::GetObjectById(), cDvbSubtitleConverter::GetPageById(), cDvbSubtitlePage::GetRegionById(), cFreetypeFont::Glyph(), cPictureEntry::Load(), cConfig< cDiseqc >::Load(), cChannels::NewChannel(), cNestedItemList::Parse(), cSubtitleRegion::Parse(), cDvbSubtitlePage::Parse(), cSubtitleRegion::ParsePgs(), cSdtFilter::Process(), cMenuEditChannel::ProcessKey(), cKeys::PutSetup(), cInterface::QueryKeys(), cSkins::QueueMessage(), cRecordings::ScanVideoDir(), Sort(), and cSetup::Store().
|
virtual |
Reimplemented in cSkins, cNestedItemList, cOsdMenu, cConfig< T >, cConfig< cSource >, cConfig< cKeyMacro >, cConfig< cSetupLine >, cConfig< cScr >, cConfig< cSVDRPhost >, cConfig< cChannel >, cConfig< cKey >, cConfig< cMark >, cConfig< cTimer >, and cConfig< cDiseqc >.
Definition at line 2087 of file tools.c.
References count, lastObject, cListObject::Next(), and objects.
Referenced by cConfig< cDiseqc >::Clear(), cOsdMenu::Clear(), cNestedItemList::Clear(), cSkins::Clear(), ClearVanishedRecordings(), cRecordingsHandler::DelAll(), cNestedItemList::Load(), main(), cDvbSubtitlePage::Parse(), cDvbSubtitlePage::ParsePgs(), cRecordings::Refresh(), cDvbSubtitleConverter::Reset(), cDevice::Shutdown(), cCamSlot::StopDecrypting(), and ~cListBase().
|
inline |
Definition at line 485 of file tools.h.
Referenced by cSectionHandler::Action(), cDvbSubtitleConverter::Action(), AssertFreeDiskSpace(), cCuttingThread::cCuttingThread(), cSVDRP::CmdDELR(), cSVDRP::CmdEDIT(), cSVDRP::CmdLSTR(), cSVDRP::CmdLSTT(), cSVDRP::CmdMOVR(), cSVDRP::CmdPLAY(), cMenuSetupOSD::cMenuSetupOSD(), cMenuRecordings::Commands(), cOsdMenu::CursorDown(), cOsdMenu::CursorUp(), CutRecording(), cOsdMenu::Del(), cMenuRecordings::Delete(), cMenuChannels::Delete(), cOsdMenu::Display(), cMenuChannels::Edit(), cMenuTimers::Edit(), cReplayControl::EditCut(), cCaDescriptors::Empty(), cRecordingsHandler::Finished(), cDvbSubtitlePage::GetAreas(), cDevice::GetDevice(), cPluginManager::HasPlugins(), cPluginManager::Housekeeping(), cMenuRecordings::Info(), cMenuTimers::Info(), cCamSlot::IsDecrypting(), cOsdMenu::Mark(), cReplayControl::MarkJump(), cOsdMenu::PageDown(), cOsdMenu::PageUp(), cEITScanner::Process(), cCamSlot::Process(), cMenuRecordings::ProcessKey(), cMenuTimers::ProcessKey(), cMenuWhatsOn::ProcessKey(), cMenuSchedule::ProcessKey(), cCuttingThread::ProcessSequence(), cRecordings::Refresh(), cMenuRecordings::Rewind(), cCamSlot::SendCaPmt(), cPictureMenu::Set(), cMenuMain::Set(), cMenuCam::Set(), cMenuRecordings::SetHelpKeys(), cChannel::SetLinkChannels(), Sort(), cCamSlot::StopDecrypting(), and cRecordings::Update().
void cListBase::Del | ( | cListObject * | Object, |
bool | DeleteObject = true |
||
) |
Definition at line 2046 of file tools.c.
References count, lastObject, cListObject::Next(), objects, cListObject::Prev(), and cListObject::Unlink().
Referenced by cDvbSubtitleConverter::Action(), cRemoveDeletedRecordingsThread::Action(), cRecordingsHandler::Active(), cCaDescriptorHandler::AddCaDescriptors(), AssertFreeDiskSpace(), cHdffSetupPage::BuildVideoConversionItem(), cChannelCamRelations::Cleanup(), cSVDRP::CmdDELC(), cSectionHandler::Del(), cFilter::Del(), cOsdMenu::Del(), cTimers::Del(), cRecordingsHandler::Del(), cHashBase::Del(), cRecordings::DelByName(), cMenuFolder::Delete(), cMenuChannels::Delete(), cChannels::DeleteDuplicateChannels(), cSchedule::DelEvent(), cSectionHandler::Detach(), cReplayControl::MarkToggle(), cEITScanner::Process(), cSkins::ProcessQueuedMessages(), cInterface::QueryKeys(), cRecordings::ScanVideoDir(), cFilter::SetStatus(), cPluginManager::Shutdown(), cSetup::Store(), cCamSlot::~cCamSlot(), cChannel::~cChannel(), cDvbDeviceProbe::~cDvbDeviceProbe(), cDynamicDeviceProbe::~cDynamicDeviceProbe(), cEpgHandler::~cEpgHandler(), cRemote::~cRemote(), and cStatus::~cStatus().
cListObject * cListBase::Get | ( | int | Index | ) | const |
Definition at line 2098 of file tools.c.
References cListObject::Next(), and objects.
Referenced by cList< cSchedule >::Get(), and Move().
void cListBase::Ins | ( | cListObject * | Object, |
cListObject * | Before = NULL |
||
) |
Definition at line 2030 of file tools.c.
References cListObject::Append(), count, cListObject::Insert(), lastObject, objects, and cListObject::Prev().
Referenced by cTimers::Ins(), and cOsdMenu::Ins().
|
virtual |
Reimplemented in cMenuChannels.
Definition at line 2058 of file tools.c.
References Get().
Referenced by cSVDRP::CmdMOVC(), cMenuChannels::Move(), and cOsdMenu::ProcessKey().
void cListBase::Move | ( | cListObject * | From, |
cListObject * | To | ||
) |
Definition at line 2063 of file tools.c.
References cListObject::Append(), cListObject::Index(), lastObject, cListObject::Next(), objects, cListObject::Prev(), and cListObject::Unlink().
void cListBase::Sort | ( | void | ) |
Definition at line 2115 of file tools.c.
References Add(), CompareListObjects(), count, Count(), lastObject, cListObject::Next(), objects, and cListObject::Unlink().
Referenced by cScanList::AddTransponders(), cMenuTimers::cMenuTimers(), cChannels::DeleteDuplicateChannels(), cPictureEntry::Load(), cMenuSchedule::Number(), cSetup::Save(), cMenuFolder::Set(), cMenuRecordings::Set(), cMenuChannels::Setup(), and cSchedule::Sort().
|
protected |
Definition at line 475 of file tools.h.
Referenced by Add(), Clear(), cListBase(), cOsdMenu::Del(), Del(), cOsdMenu::Display(), Ins(), and Sort().
|
protected |
|
protected |