vdr 2.7.3
|
#include <menu.h>
Public Member Functions | |
cMenuRecordings (const char *Base=NULL, int Level=0, bool OpenSubMenus=false, const cRecordingFilter *Filter=NULL) | |
~cMenuRecordings () | |
virtual eOSState | ProcessKey (eKeys Key) |
![]() | |
cOsdMenu (const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0) | |
virtual | ~cOsdMenu () |
virtual bool | NeedsFastResponse (void) |
void | SetMenuCategory (eMenuCategory MenuCategory) |
void | SetMenuSortMode (eMenuSortMode MenuSortMode) |
int | Current (void) const |
void | Add (cOsdItem *Item, bool Current=false, cOsdItem *After=NULL) |
void | Ins (cOsdItem *Item, bool Current=false, cOsdItem *Before=NULL) |
virtual void | Display (void) |
![]() | |
cOsdObject (bool FastResponse=false) | |
virtual | ~cOsdObject () |
bool | IsMenu (void) const |
virtual void | Show (void) |
![]() | |
cList (const char *NeedsLocking=NULL) | |
const cOsdItem * | Get (int Index) const |
cOsdItem * | Get (int Index) |
const cOsdItem * | First (void) const |
cOsdItem * | First (void) |
const cOsdItem * | Last (void) const |
cOsdItem * | Last (void) |
const cOsdItem * | Prev (const cOsdItem *Object) const |
cOsdItem * | Prev (const cOsdItem *Object) |
const cOsdItem * | Next (const cOsdItem *Object) const |
cOsdItem * | Next (const cOsdItem *Object) |
![]() | |
virtual | ~cListBase () |
bool | Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const |
void | SetSyncStateKey (cStateKey &StateKey) |
void | SetUseGarbageCollector (void) |
void | SetExplicitModify (void) |
void | SetModified (void) |
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) |
bool | Contains (const cListObject *Object) const |
const cListObject * | Get (int Index) const |
cListObject * | Get (int Index) |
int | Count (void) const |
void | Sort (void) |
Static Public Member Functions | |
static void | SetRecording (const char *FileName) |
Protected Member Functions | |
cString | DirectoryName (void) |
![]() | |
void | SetDisplayMenu (void) |
cSkinDisplayMenu * | DisplayMenu (void) |
const char * | hk (const char *s) |
void | SetCols (int c0, int c1=0, int c2=0, int c3=0, int c4=0) |
void | SetHasHotkeys (bool HasHotkeys=true) |
virtual void | Clear (void) |
const char * | Title (void) |
bool | SelectableItem (int idx) |
void | SetCurrent (cOsdItem *Item) |
void | RefreshCurrent (void) |
void | DisplayCurrent (bool Current) |
void | DisplayItem (cOsdItem *Item) |
void | CursorUp (void) |
void | CursorDown (void) |
void | PageUp (void) |
void | PageDown (void) |
void | Mark (void) |
eOSState | HotKey (eKeys Key) |
eOSState | AddSubMenu (cOsdMenu *SubMenu) |
eOSState | CloseSubMenu (bool ReDisplay=true) |
bool | HasSubMenu (void) |
cOsdMenu * | SubMenu (void) |
void | SetStatus (const char *s) |
void | SetTitle (const char *Title) |
void | SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL) |
virtual void | Del (int Index) |
![]() | |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
![]() | |
cListBase (const char *NeedsLocking=NULL) | |
Private Member Functions | |
void | SetHelpKeys (void) |
void | Set (bool Refresh=false) |
bool | Open (bool OpenSubMenus=false) |
eOSState | Play (void) |
eOSState | Rewind (void) |
eOSState | Delete (void) |
eOSState | Info (void) |
eOSState | Sort (void) |
eOSState | Commands (eKeys Key=kNone) |
Private Attributes | |
char * | base |
int | level |
cStateKey | recordingsStateKey |
int | helpKeys |
const cRecordingFilter * | filter |
Static Private Attributes | |
static cString | path |
static cString | fileName |
Additional Inherited Members | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
cMenuRecordings::cMenuRecordings | ( | const char * | Base = NULL, |
int | Level = 0, | ||
bool | OpenSubMenus = false, | ||
const cRecordingFilter * | Filter = NULL ) |
Definition at line 3093 of file menu.c.
References base, cOsdMenu::Current(), cOsdMenu::Display(), fileName, filter, cList< cOsdItem >::First(), FOLDERDELIMCHAR, helpKeys, cReplayControl::LastReplayed(), level, mcRecording, Open(), path, cSetup::RecordingDirs, Set(), cOsdMenu::SetCurrent(), SetHelpKeys(), cOsdMenu::SetMenuCategory(), Setup, and strcountchr().
Referenced by Open().
cMenuRecordings::~cMenuRecordings | ( | ) |
Definition at line 3114 of file menu.c.
References base, cOsdMenu::Current(), cList< cOsdItem >::Get(), and SetRecording().
Definition at line 3378 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), cRecording::FileName(), cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), cMenuRecordingItem::IsDirectory(), kNone, osContinue, cMenuCommands::ProcessKey(), cMenuRecordingItem::Recording(), RecordingCommands, cString::sprintf(), strescape(), and tr.
|
private |
Definition at line 3315 of file menu.c.
References cReplayControl::ClearLastReplayed(), cInterface::Confirm(), cListBase::Count(), cOsdMenu::Current(), cOsdMenu::Del(), cRecordingsHandler::Del(), cRecordings::DelByName(), cRecording::Delete(), cOsdMenu::Display(), cRecording::FileName(), cVideoDiskUsage::ForceCheck(), cList< cOsdItem >::Get(), cRecordings::GetByName(), cRecordings::GetRecordingsWrite(), cRecordingsHandler::GetUsage(), cOsdMenu::HasSubMenu(), Interface, cMenuRecordingItem::IsDirectory(), LOCK_RECORDINGS_READ, cSkins::Message(), mtError, cReplayControl::NowReplaying(), osContinue, osUserRecEmpty, osUserRecRemoved, cMenuRecordingItem::Recording(), RecordingsHandler, recordingsStateKey, cStateKey::Remove(), cListBase::SetExplicitModify(), SetHelpKeys(), cListBase::SetModified(), cOsdObject::SetNeedsFastResponse(), cControl::Shutdown(), Skins, TimerStillRecording(), and tr.
Referenced by ProcessKey().
|
protected |
Definition at line 3208 of file menu.c.
References AddDirectory(), base, ExchangeChars(), and cVideoDirectory::Name().
|
private |
Definition at line 3365 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), FOLDERDELIMCHAR, cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), osContinue, and strchrn().
Referenced by ProcessKey().
|
private |
Definition at line 3219 of file menu.c.
References cOsdMenu::AddSubMenu(), base, cMenuRecordings(), cOsdMenu::Current(), filter, FOLDERDELIMCHAR, cList< cOsdItem >::Get(), cMenuRecordingItem::IsDirectory(), level, cMenuRecordingItem::Name(), path, cString::sprintf(), and strcountchr().
Referenced by cMenuRecordings(), and Play().
|
private |
Definition at line 3235 of file menu.c.
References cOsdMenu::Current(), cRecording::FileName(), cList< cOsdItem >::Get(), cMenuRecordingItem::IsDirectory(), Open(), osContinue, osReplay, cMenuRecordingItem::Recording(), and cReplayControl::SetRecording().
Referenced by ProcessKey(), and Rewind().
Reimplemented from cOsdMenu.
Definition at line 3405 of file menu.c.
References base, cOsdMenu::CloseSubMenu(), Commands, cListBase::Count(), cOsdMenu::Current(), cOsdMenu::Del(), Delete(), cOsdMenu::Display(), fileName, cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), helpKeys, Info(), k0, k1, kBlue, kGreen, kInfo, kNone, kOk, kPlay, kPlayPause, kRed, kYellow, osContinue, osUnknown, osUserRecEmpty, osUserRecMoved, osUserRecRemoved, osUserRecRenamed, path, Play(), cOsdMenu::ProcessKey(), RecordingCommands, Rewind(), Set(), SetHelpKeys(), Sort(), and cOsdMenu::SubMenu().
|
private |
Definition at line 3249 of file menu.c.
References cListBase::Count(), cOsdMenu::Current(), cResumeFile::Delete(), cRecording::FileName(), cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), cMenuRecordingItem::IsDirectory(), cRecording::IsPesRecording(), osContinue, Play(), cDevice::PrimaryDevice(), cMenuRecordingItem::Recording(), and cDevice::StopReplay().
Referenced by ProcessKey().
|
private |
Definition at line 3144 of file menu.c.
References cOsdMenu::Add(), base, cOsdMenu::Clear(), cOsdMenu::Current(), cOsdMenu::current, DirectoryName(), cOsdMenu::Display(), fileName, cRecordingFilter::Filter(), filter, cList< T >::First(), FOLDERDELIMCHAR, cList< cOsdItem >::Get(), cRecordings::GetRecordingsRead(), GetRecordingsSortMode(), cRecordings::GetRecordingsWrite(), cMenuRecordingItem::IncrementCounter(), cMenuRecordingItem::IsDirectory(), cReplayControl::LastReplayed(), level, msmName, msmTime, cMenuRecordingItem::Name(), cList< T >::Next(), path, RecordingsSortMode, recordingsStateKey, cStateKey::Remove(), rsmName, cOsdMenu::SetCurrent(), cOsdMenu::SetMenuSortMode(), cListBase::Sort(), and cOsdItem::Text().
Referenced by cMenuRecordings(), ProcessKey(), and Sort().
|
private |
Definition at line 3123 of file menu.c.
References cListBase::Count(), cOsdMenu::Current(), cList< cOsdItem >::Get(), helpKeys, cMenuRecordingItem::IsDirectory(), RecordingCommands, cOsdMenu::SetHelp(), and tr.
Referenced by cMenuRecordings(), Delete(), and ProcessKey().
|
static |
Definition at line 3203 of file menu.c.
References fileName.
Referenced by Sort(), cReplayControl::Stop(), and ~cMenuRecordings().
|
private |
Definition at line 3393 of file menu.c.
References cOsdMenu::Current(), DirectoryName(), cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), IncRecordingsSortMode(), osContinue, recordingsStateKey, cStateKey::Reset(), Set(), and SetRecording().
Referenced by ProcessKey().
|
private |
Definition at line 212 of file menu.h.
Referenced by cMenuRecordings(), DirectoryName(), Open(), ProcessKey(), Set(), and ~cMenuRecordings().
|
staticprivate |
Definition at line 218 of file menu.h.
Referenced by cMenuRecordings(), ProcessKey(), Set(), and SetRecording().
|
private |
Definition at line 216 of file menu.h.
Referenced by cMenuRecordings(), Open(), and Set().
|
private |
Definition at line 215 of file menu.h.
Referenced by cMenuRecordings(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 213 of file menu.h.
Referenced by cMenuRecordings(), Open(), and Set().
|
staticprivate |
Definition at line 217 of file menu.h.
Referenced by cMenuRecordings(), Open(), ProcessKey(), and Set().
|
private |