vdr
2.0.4
|
#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 1934 of file tools.c.
References count, lastObject, and objects.
void cListBase::Add | ( | cListObject * | Object, |
cListObject * | After = NULL |
||
) |
Definition at line 1945 of file tools.c.
References cListObject::Append(), count, cListObject::Insert(), lastObject, cListObject::Next(), and objects.
Referenced by cMenuTimers::ActualiseDiskStatus(), cSectionHandler::Add(), cFilter::Add(), cTimers::Add(), cOsdMenu::Add(), cMarks::Add(), cHashBase::Add(), cRecordings::AddByName(), cCaDescriptors::AddCaDescriptor(), cCaDescriptorHandler::AddCaDescriptors(), cChannelCamRelations::AddEntry(), cSchedule::AddEvent(), cCamSlot::AddPid(), cPluginManager::AddPlugin(), cSchedules::AddSchedule(), cNestedItem::AddSubItem(), cScanList::AddTransponder(), cTransponderList::AddTransponder(), cSectionHandler::Attach(), cAudio::cAudio(), cCamSlot::cCamSlot(), cDeviceHook::cDeviceHook(), cDvbDeviceProbe::cDvbDeviceProbe(), cEIT::cEIT(), cEpgHandler::cEpgHandler(), cSVDRP::CmdNEWC(), cMenuEditFolder::Confirm(), cRemote::cRemote(), cSkin::cSkin(), cSourceParam::cSourceParam(), cStatus::cStatus(), cRecordings::DelByName(), cChannels::DeleteDuplicateChannels(), cDvbSubtitleConverter::ExtractSegment(), cDvbSubtitleConverter::FinishPage(), cDvbSubtitlePage::GetClutById(), cSubtitleRegion::GetObjectById(), cDvbSubtitlePage::GetRegionById(), cFreetypeFont::Glyph(), cPictureEntry::Load(), cConfig< cDiseqc >::Load(), cChannels::NewChannel(), cNestedItemList::Parse(), 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 2018 of file tools.c.
References count, lastObject, cListObject::Next(), and objects.
Referenced by cConfig< cDiseqc >::Clear(), cOsdMenu::Clear(), cNestedItemList::Clear(), cSkins::Clear(), cNestedItemList::Load(), main(), cRecordings::Refresh(), cDvbSubtitleConverter::Reset(), cDvbSubtitlePage::SetState(), cDevice::Shutdown(), cCamSlot::StopDecrypting(), and ~cListBase().
|
inline |
Definition at line 475 of file tools.h.
Referenced by cSectionHandler::Action(), cDvbSubtitleConverter::Action(), cMenuTimers::ActualiseDiskStatus(), AssertFreeDiskSpace(), cCuttingThread::cCuttingThread(), cSVDRP::CmdCPYR(), cSVDRP::CmdDELR(), cSVDRP::CmdEDIT(), cSVDRP::CmdLSTR(), cSVDRP::CmdLSTT(), cSVDRP::CmdMOVR(), cSVDRP::CmdPLAY(), cMenuEditRecording::cMenuEditRecording(), cMenuSetupOSD::cMenuSetupOSD(), cMenuRecordings::Commands(), cMenuTimers::Commands(), cOsdMenu::CursorDown(), cOsdMenu::CursorUp(), CutRecording(), cOsdMenu::Del(), cMenuRecordings::Delete(), cMenuChannels::Delete(), cOsdMenu::Display(), cMenuRecordings::Edit(), cMenuChannels::Edit(), cMenuTimers::Edit(), cReplayControl::EditCut(), cCaDescriptors::Empty(), cDvbSubtitleConverter::ExtractSegment(), cDvbSubtitleConverter::FinishPage(), 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(), 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 1977 of file tools.c.
References count, lastObject, cListObject::Next(), objects, cListObject::Prev(), and cListObject::Unlink().
Referenced by cDvbSubtitleConverter::Action(), cRemoveDeletedRecordingsThread::Action(), cCaDescriptorHandler::AddCaDescriptors(), AssertFreeDiskSpace(), cHdffSetupPage::BuildVideoConversionItem(), cChannelCamRelations::Cleanup(), cSVDRP::CmdDELC(), cSectionHandler::Del(), cFilter::Del(), cOsdMenu::Del(), cTimers::Del(), cHashBase::Del(), cRecordings::DelByName(), cMenuFolder::Delete(), cMenuChannels::Delete(), cChannels::DeleteDuplicateChannels(), cSchedule::DelEvent(), cSectionHandler::Detach(), cReplayControl::MarkToggle(), cEITScanner::Process(), cMenuEditRecording::ProcessKey(), cSkins::ProcessQueuedMessages(), cInterface::QueryKeys(), cFilter::SetStatus(), cPluginManager::Shutdown(), cSetup::Store(), cCamSlot::~cCamSlot(), cChannel::~cChannel(), cDvbDeviceProbe::~cDvbDeviceProbe(), cEpgHandler::~cEpgHandler(), cRemote::~cRemote(), and cStatus::~cStatus().
cListObject * cListBase::Get | ( | int | Index | ) | const |
Definition at line 2029 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 1961 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 1989 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 1994 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 2046 of file tools.c.
References Add(), CompareListObjects(), count, Count(), lastObject, cListObject::Next(), objects, and cListObject::Unlink().
Referenced by cMenuTimers::ActualiseDiskStatus(), cScanList::AddTransponders(), cMenuTimers::cMenuTimers(), cChannels::DeleteDuplicateChannels(), cPictureEntry::Load(), cMenuSchedule::Number(), cMenuTimers::ProcessKey(), cSetup::Save(), cMenuFolder::Set(), cMenuRecordings::Set(), cMenuChannels::Setup(), and cSchedule::Sort().
|
protected |
Definition at line 465 of file tools.h.
Referenced by Add(), Clear(), cListBase(), cOsdMenu::Del(), Del(), cOsdMenu::Display(), Ins(), and Sort().
|
protected |
|
protected |