MythTV  master
Public Member Functions | Public Attributes | List of all members
MediaServerItem Class Reference

#include <upnpscanner.h>

Inheritance diagram for MediaServerItem:
Inheritance graph

Public Member Functions

 MediaServerItem ()=default
 MediaServerItem (QString id, QString parent, QString name, QString url)
QString NextUnbrowsed (void)
MediaServerItemFind (QString &id)
bool Add (const MediaServerItem &item)
void Reset (void)

Public Attributes

QString m_id
QString m_parentid
QString m_name
QString m_url
bool m_scanned {false}
QMap< QString, MediaServerItemm_children

Detailed Description

Definition at line 24 of file upnpscanner.h.

Constructor & Destructor Documentation

◆ MediaServerItem() [1/2]

MediaServerItem::MediaServerItem ( )

◆ MediaServerItem() [2/2]

MediaServerItem::MediaServerItem ( QString  id,
QString  parent,
QString  name,
QString  url 

Definition at line 28 of file upnpscanner.h.

Member Function Documentation

◆ NextUnbrowsed()

QString MediaServerItem::NextUnbrowsed ( void  )

Definition at line 27 of file upnpscanner.cpp.

◆ Find()

MediaServerItem * MediaServerItem::Find ( QString &  id)

Definition at line 50 of file upnpscanner.cpp.

Referenced by Find().

◆ Add()

bool MediaServerItem::Add ( const MediaServerItem item)

Definition at line 67 of file upnpscanner.cpp.

Referenced by UPNPScanner::FindItems().

◆ Reset()

void MediaServerItem::Reset ( void  )

Definition at line 77 of file upnpscanner.cpp.

Referenced by UPNPScanner::FindItems(), and UpnpMediaServer::ResetContent().

Member Data Documentation

◆ m_id

QString MediaServerItem::m_id

Definition at line 37 of file upnpscanner.h.

Referenced by Add(), Find(), and NextUnbrowsed().

◆ m_parentid

QString MediaServerItem::m_parentid

Definition at line 38 of file upnpscanner.h.

Referenced by Add().

◆ m_name

QString MediaServerItem::m_name

Definition at line 39 of file upnpscanner.h.

◆ m_url

QString MediaServerItem::m_url

Definition at line 40 of file upnpscanner.h.

Referenced by NextUnbrowsed().

◆ m_scanned

bool MediaServerItem::m_scanned {false}

◆ m_children

QMap<QString, MediaServerItem> MediaServerItem::m_children

Definition at line 42 of file upnpscanner.h.

Referenced by Add(), Find(), NextUnbrowsed(), and Reset().

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