vdr  2.6.9
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cMenuPathEdit Class Reference

Public Member Functions

 cMenuPathEdit (const char *Path)
 
virtual eOSState ProcessKey (eKeys Key)
 
- Public Member Functions inherited from cOsdMenu
 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)
 
- Public Member Functions inherited from cOsdObject
 cOsdObject (bool FastResponse=false)
 
virtual ~cOsdObject ()
 
bool IsMenu (void) const
 
virtual void Show (void)
 
- Public Member Functions inherited from cList< cOsdItem >
 cList (const char *NeedsLocking=NULL)
 
const cOsdItemGet (int Index) const
 
cOsdItemGet (int Index)
 
const cOsdItemFirst (void) const
 
cOsdItemFirst (void)
 
const cOsdItemLast (void) const
 
cOsdItemLast (void)
 
const cOsdItemPrev (const cOsdItem *Object) const
 
cOsdItemPrev (const cOsdItem *Object)
 
const cOsdItemNext (const cOsdItem *Object) const
 
cOsdItemNext (const cOsdItem *Object)
 
- Public Member Functions inherited from cListBase
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 cListObjectGet (int Index) const
 
cListObjectGet (int Index)
 
int Count (void) const
 
void Sort (void)
 

Private Member Functions

eOSState SetFolder (void)
 
eOSState Folder (void)
 
eOSState ApplyChanges (void)
 

Private Attributes

cString path
 
cString oldFolder
 
char folder [PATH_MAX]
 
char name [NAME_MAX]
 
cMenuEditStrItemfolderItem
 
int pathIsInUse
 

Additional Inherited Members

- Protected Member Functions inherited from cOsdMenu
void SetDisplayMenu (void)
 
cSkinDisplayMenuDisplayMenu (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)
 
cOsdMenuSubMenu (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)
 
- Protected Member Functions inherited from cOsdObject
void SetNeedsFastResponse (bool NeedsFastResponse)
 
- Protected Member Functions inherited from cListBase
 cListBase (const char *NeedsLocking=NULL)
 
- Protected Attributes inherited from cListBase
cListObjectobjects
 
cListObjectlastObject
 
int count
 
cStateLock stateLock
 
const char * needsLocking
 
bool useGarbageCollector
 

Detailed Description

Definition at line 2511 of file menu.c.

Constructor & Destructor Documentation

◆ cMenuPathEdit()

cMenuPathEdit::cMenuPathEdit ( const char *  Path)

Member Function Documentation

◆ ApplyChanges()

eOSState cMenuPathEdit::ApplyChanges ( void  )
private

◆ Folder()

eOSState cMenuPathEdit::Folder ( void  )
private

Definition at line 2588 of file menu.c.

References cOsdMenu::AddSubMenu(), Folders, path, and tr.

Referenced by ProcessKey().

◆ ProcessKey()

eOSState cMenuPathEdit::ProcessKey ( eKeys  Key)
virtual

Reimplemented from cOsdMenu.

Definition at line 2628 of file menu.c.

References ApplyChanges(), Folder(), cOsdMenu::HasSubMenu(), kOk, kRed, osBack, osEnd, osUnknown, pathIsInUse, cOsdMenu::ProcessKey(), and SetFolder().

◆ SetFolder()

eOSState cMenuPathEdit::SetFolder ( void  )
private

Member Data Documentation

◆ folder

char cMenuPathEdit::folder[PATH_MAX]
private

Definition at line 2515 of file menu.c.

Referenced by ApplyChanges(), cMenuPathEdit(), and SetFolder().

◆ folderItem

cMenuEditStrItem* cMenuPathEdit::folderItem
private

Definition at line 2517 of file menu.c.

Referenced by cMenuPathEdit(), and SetFolder().

◆ name

char cMenuPathEdit::name[NAME_MAX]
private

Definition at line 2516 of file menu.c.

Referenced by ApplyChanges(), and cMenuPathEdit().

◆ oldFolder

cString cMenuPathEdit::oldFolder
private

Definition at line 2514 of file menu.c.

Referenced by ApplyChanges(), and cMenuPathEdit().

◆ path

cString cMenuPathEdit::path
private

Definition at line 2513 of file menu.c.

Referenced by ApplyChanges(), cMenuPathEdit(), and Folder().

◆ pathIsInUse

int cMenuPathEdit::pathIsInUse
private

Definition at line 2518 of file menu.c.

Referenced by cMenuPathEdit(), and ProcessKey().


The documentation for this class was generated from the following file: