|
MythTV master
|
Standard UPnP Shortcut feature. More...
#include <libmythupnp/upnpcds.h>
Public Types | |
| enum | ShortCutType : std::uint8_t { MUSIC , MUSIC_ALBUMS , MUSIC_ARTISTS , MUSIC_GENRES , MUSIC_PLAYLISTS , MUSIC_RECENTLY_ADDED , MUSIC_LAST_PLAYED , MUSIC_AUDIOBOOKS , MUSIC_STATIONS , MUSIC_ALL , MUSIC_FOLDER_STRUCTURE , IMAGES , IMAGES_YEARS , IMAGES_YEARS_MONTH , IMAGES_ALBUM , IMAGES_SLIDESHOWS , IMAGES_RECENTLY_ADDED , IMAGES_LAST_WATCHED , IMAGES_ALL , IMAGES_FOLDER_STRUCTURE , VIDEOS , VIDEOS_GENRES , VIDEOS_YEARS , VIDEOS_YEARS_MONTH , VIDEOS_ALBUM , VIDEOS_RECENTLY_ADDED , VIDEOS_LAST_PLAYED , VIDEOS_RECORDINGS , VIDEOS_ALL , VIDEOS_FOLDER_STRUCTURE , FOLDER_STRUCTURE } |
| Allowed values for the Container Shortcut feature. More... | |
Public Member Functions | |
| UPnPShortcutFeature () | |
| bool | AddShortCut (ShortCutType type, const QString &objectID) |
| QString | CreateXML () override |
Public Member Functions inherited from UPnPFeature | |
| UPnPFeature (QString name, int version) | |
| virtual | ~UPnPFeature ()=default |
| QString | toXML () |
| virtual QString | CreateXML ()=0 |
Static Private Member Functions | |
| static QString | TypeToName (ShortCutType type) |
Private Attributes | |
| QMap< ShortCutType, QString > | m_shortcuts |
Additional Inherited Members | |
Protected Attributes inherited from UPnPFeature | |
| QString | m_name |
| int | m_version |
| enum UPnPShortcutFeature::ShortCutType : std::uint8_t |
Allowed values for the Container Shortcut feature.
ContentDirectory Service v4 2014 Table E-13 allowedValueListfor the Shortcut Name element
| bool UPnPShortcutFeature::AddShortCut | ( | ShortCutType | type, |
| const QString & | objectID | ||
| ) |
Definition at line 1120 of file upnpcds.cpp.
Referenced by UPnpCDS::RegisterShortCut().
|
overridevirtual |
Implements UPnPFeature.
Definition at line 1098 of file upnpcds.cpp.
|
staticprivate |
Definition at line 1135 of file upnpcds.cpp.
Referenced by AddShortCut(), and CreateXML().
|
private |
Definition at line 193 of file upnpcds.h.
Referenced by AddShortCut(), and CreateXML().