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

#include <upnpscanner.h>

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 ( )
default

◆ MediaServerItem() [2/2]

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

Definition at line 28 of file upnpscanner.h.

Member Function Documentation

◆ NextUnbrowsed()

QString MediaServerItem::NextUnbrowsed ( void  )

Definition at line 21 of file upnpscanner.cpp.

◆ Find()

MediaServerItem * MediaServerItem::Find ( QString &  id)

Definition at line 44 of file upnpscanner.cpp.

Referenced by Find(), and UPNPScanner::GetMetadata().

◆ Add()

bool MediaServerItem::Add ( const MediaServerItem item)

Definition at line 61 of file upnpscanner.cpp.

Referenced by UPNPScanner::FindItems().

◆ Reset()

void MediaServerItem::Reset ( void  )

Definition at line 71 of file upnpscanner.cpp.

Referenced by UPNPScanner::FindItems().

Member Data Documentation

◆ m_id

QString MediaServerItem::m_id

Definition at line 37 of file upnpscanner.h.

Referenced by Add().

◆ 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.

◆ m_scanned

bool MediaServerItem::m_scanned {false}

Definition at line 41 of file upnpscanner.h.

Referenced by UPNPScanner::FindItems(), and UPNPScanner::GetMetadata().

◆ m_children

QMap<QString, MediaServerItem> MediaServerItem::m_children

Definition at line 42 of file upnpscanner.h.


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