|
vdr 2.6.1
|
Public Member Functions | |
| cMenuEditChannel (cStateKey *ChannelsStateKey, cChannel *Channel, bool New=false) | |
| cChannel * | Channel (void) |
| 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) |
| virtual eOSState | ProcessKey (eKeys Key) |
Public Member Functions inherited from cOsdObject | |
| cOsdObject (bool FastResponse=false) | |
| virtual | ~cOsdObject () |
| virtual bool | NeedsFastResponse (void) |
| bool | IsMenu (void) const |
| virtual void | Show (void) |
| virtual eOSState | ProcessKey (eKeys Key) |
Public Member Functions inherited from cList< cOsdItem > | |
| 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) |
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) |
| virtual void | Clear (void) |
| bool | Contains (const cListObject *Object) const |
| const cListObject * | Get (int Index) const |
| cListObject * | Get (int Index) |
| int | Count (void) const |
| void | Sort (void) |
Private Member Functions | |
| void | Setup (void) |
Private Attributes | |
| cStateKey * | channelsStateKey |
| cChannel * | channel |
| cChannel | data |
| cSourceParam * | sourceParam |
| char | name [256] |
Additional Inherited Members | |
Protected Member Functions inherited from cOsdMenu | |
| 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) |
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 | |
| cListObject * | objects |
| cListObject * | lastObject |
| int | count |
| cStateLock | stateLock |
| const char * | needsLocking |
| bool | useGarbageCollector |
| cMenuEditChannel::cMenuEditChannel | ( | cStateKey * | ChannelsStateKey, |
| cChannel * | Channel, | ||
| bool | New = false |
||
| ) |
Definition at line 176 of file menu.c.
References channel, Channel(), channelsStateKey, data, mcChannelEdit, cChannel::name, name, cChannel::nid, cChannel::portalName, cChannel::provider, cChannel::rid, cOsdMenu::SetMenuCategory(), Setup(), cChannel::shortName, sourceParam, strn0cpy(), and cChannel::tid.
|
inline |
Reimplemented from cOsdMenu.
Definition at line 240 of file menu.c.
References cListBase::Add(), channel, channelsStateKey, data, cChannels::GetChannelsWrite(), cSourceParam::GetData(), cChannels::HasUniqueChannelID(), isyslog, kNone, kOk, LOCK_CHANNELS_WRITE, cSkins::Message(), mtError, cChannel::name, name, cChannel::Number(), osBack, osContinue, osUnknown, osUser1, cOsdMenu::ProcessKey(), cStateKey::Remove(), cChannels::ReNumber(), cChannels::SetModifiedByUser(), Setup(), Skins, cChannel::source, sourceParam, cSource::st_Mask, strcpyrealloc(), cChannel::ToText(), and tr.
|
private |
Definition at line 201 of file menu.c.
References cOsdMenu::Add(), cChannel::apids, cChannel::caids, cOsdMenu::Clear(), cOsdMenu::current, cOsdMenu::Current(), data, cOsdMenu::Display(), cChannel::dpids, cChannel::frequency, cSourceParams::Get(), cList< cOsdItem >::Get(), cSourceParam::GetOsdItem(), name, cChannel::nid, cChannel::ppid, cOsdMenu::SetCurrent(), cSourceParam::SetData(), cChannel::sid, cChannel::source, sourceParam, SourceParams, cChannel::spids, cChannel::tid, cSource::ToString(), cChannel::tpid, tr, and cChannel::vpid.
Referenced by cMenuEditChannel(), and ProcessKey().
|
private |
Definition at line 165 of file menu.c.
Referenced by Channel(), cMenuEditChannel(), and ProcessKey().
|
private |
Definition at line 164 of file menu.c.
Referenced by cMenuEditChannel(), and ProcessKey().
|
private |
Definition at line 166 of file menu.c.
Referenced by cMenuEditChannel(), ProcessKey(), and Setup().
|
private |
Definition at line 168 of file menu.c.
Referenced by cMenuEditChannel(), ProcessKey(), and Setup().
|
private |
Definition at line 167 of file menu.c.
Referenced by cMenuEditChannel(), ProcessKey(), and Setup().