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 |
void cListBase::Add | ( | cListObject * | Object, |
cListObject * | After = NULL |
||
) |
Definition at line 2014 of file tools.c.
References cListObject::Append(), cListObject::Insert(), and cListObject::Next().
Referenced by cMenuTimers::ActualiseDiskStatus(), cSectionHandler::Add(), cTimers::Add(), cOsdMenu::Add(), cMarks::Add(), cHashBase::Add(), cRecordings::AddByName(), cCamSlot::AddPid(), AddRecordingFolders(), cDvbSubtitlePage::AddRegionRef(), cNestedItem::AddSubItem(), 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::FinishPage(), cDvbSubtitleConverter::GetPageById(), cFreetypeFont::Glyph(), cPictureEntry::Load(), cNestedItemList::Parse(), cSdtFilter::Process(), cMenuEditChannel::ProcessKey(), cInterface::QueryKeys(), cSkins::QueueMessage(), and cRecordings::ScanVideoDir().
|
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 cListObject::Next().
Referenced by cConfig< cDiseqc >::Clear(), cOsdMenu::Clear(), cNestedItemList::Clear(), cSkins::Clear(), ClearVanishedRecordings(), cNestedItemList::Load(), main(), cRecordings::Refresh(), cDvbSubtitleConverter::Reset(), and cDevice::Shutdown().
|
inline |
Definition at line 485 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(), cMenuSetupOSD::cMenuSetupOSD(), cMenuRecordings::Commands(), cMenuTimers::Commands(), CutRecording(), cMenuRecordings::Delete(), cMenuChannels::Delete(), cMenuChannels::Edit(), cMenuTimers::Edit(), cReplayControl::EditCut(), cCaDescriptors::Empty(), cDevice::GetDevice(), cMenuRecordings::Info(), cMenuTimers::Info(), cReplayControl::MarkJump(), cMenuRecordings::ProcessKey(), cMenuTimers::ProcessKey(), cMenuWhatsOn::ProcessKey(), cMenuSchedule::ProcessKey(), cCuttingThread::ProcessSequence(), cRecordings::Refresh(), cMenuRecordings::Rewind(), cPictureMenu::Set(), cMenuMain::Set(), cMenuCam::Set(), cMenuRecordings::SetHelpKeys(), cChannel::SetLinkChannels(), and cRecordings::Update().
void cListBase::Del | ( | cListObject * | Object, |
bool | DeleteObject = true |
||
) |
Definition at line 2046 of file tools.c.
References cListObject::Next(), cListObject::Prev(), and cListObject::Unlink().
Referenced by cDvbSubtitleConverter::Action(), cRemoveDeletedRecordingsThread::Action(), AssertFreeDiskSpace(), cHdffSetupPage::BuildVideoConversionItem(), cSVDRP::CmdDELC(), cSectionHandler::Del(), cOsdMenu::Del(), cTimers::Del(), cHashBase::Del(), cRecordings::DelByName(), cMenuFolder::Delete(), cMenuChannels::Delete(), cSectionHandler::Detach(), cReplayControl::MarkToggle(), cSkins::ProcessQueuedMessages(), cInterface::QueryKeys(), cRecordings::ScanVideoDir(), cCamSlot::~cCamSlot(), cDvbDeviceProbe::~cDvbDeviceProbe(), cEpgHandler::~cEpgHandler(), cRemote::~cRemote(), and cStatus::~cStatus().
cListObject * cListBase::Get | ( | int | Index | ) | const |
Definition at line 2098 of file tools.c.
References cListObject::Next().
Referenced by cList< cSchedule >::Get().
void cListBase::Ins | ( | cListObject * | Object, |
cListObject * | Before = NULL |
||
) |
Definition at line 2030 of file tools.c.
References cListObject::Append(), cListObject::Insert(), and cListObject::Prev().
Referenced by cTimers::Ins(), and cOsdMenu::Ins().
|
virtual |
Reimplemented in cMenuChannels.
Definition at line 2058 of file tools.c.
Referenced by cSVDRP::CmdMOVC(), and cMenuChannels::Move().
void cListBase::Move | ( | cListObject * | From, |
cListObject * | To | ||
) |
Definition at line 2063 of file tools.c.
References cListObject::Append(), cListObject::Index(), cListObject::Next(), cListObject::Prev(), and cListObject::Unlink().
void cListBase::Sort | ( | void | ) |
Definition at line 2115 of file tools.c.
References CompareListObjects(), cListObject::Next(), and cListObject::Unlink().
Referenced by cMenuTimers::ActualiseDiskStatus(), cMenuTimers::cMenuTimers(), cChannels::DeleteDuplicateChannels(), cPictureEntry::Load(), cMenuSchedule::Number(), cMenuTimers::ProcessKey(), cMenuFolder::Set(), cMenuRecordings::Set(), and cMenuChannels::Setup().
|
protected |
|
protected |