#include <upnpdevice.h>
Definition at line 125 of file upnpdevice.h.
Public Member Functions | |
| UPnpDeviceDesc () | |
| virtual | ~UPnpDeviceDesc () |
| bool | Load (const QString &sFileName) |
| bool | Load (const QDomDocument &xmlDevDesc) |
| void | GetValidXML (const QString &sBaseAddress, int nPort, QTextStream &os, const QString &sUserAgent="") |
| QString | GetValidXML (const QString &sBaseAddress, int nPort) |
| QString | FindDeviceUDN (UPnpDevice *pDevice, QString sST) |
| UPnpDevice * | FindDevice (const QString &sURI) |
Static Public Member Functions | |
| static UPnpDevice * | FindDevice (UPnpDevice *pDevice, const QString &sURI) |
| static UPnpDeviceDesc * | Retrieve (QString &sURL, bool bInQtThread=TRUE) |
Public Attributes | |
| UPnpDevice | m_rootDevice |
| QString | m_sHostName |
| QUrl | m_HostUrl |
Protected Member Functions | |
| void | _InternalLoad (QDomNode oNode, UPnpDevice *pCurDevice) |
| void | ProcessIconList (QDomNode oListNode, UPnpDevice *pDevice) |
| void | ProcessServiceList (QDomNode oListNode, UPnpDevice *pDevice) |
| void | ProcessDeviceList (QDomNode oListNode, UPnpDevice *pDevice) |
| void | OutputDevice (QTextStream &os, UPnpDevice *pDevice, const QString &sUserAgent="") |
| void | SetStrValue (const QDomNode &n, QString &sValue) |
| void | SetNumValue (const QDomNode &n, int &nValue) |
| QString | FormatValue (const QString &sName, const QString &sValue) |
| QString | FormatValue (const QString &sName, int nValue) |
| QString | GetHostName () |
| UPnpDeviceDesc::UPnpDeviceDesc | ( | ) |
| UPnpDeviceDesc::~UPnpDeviceDesc | ( | ) | [virtual] |
Definition at line 42 of file upnpdevice.cpp.
| void UPnpDeviceDesc::_InternalLoad | ( | QDomNode | oNode, | |
| UPnpDevice * | pCurDevice | |||
| ) | [protected] |
| void UPnpDeviceDesc::ProcessIconList | ( | QDomNode | oListNode, | |
| UPnpDevice * | pDevice | |||
| ) | [protected] |
| void UPnpDeviceDesc::ProcessServiceList | ( | QDomNode | oListNode, | |
| UPnpDevice * | pDevice | |||
| ) | [protected] |
| void UPnpDeviceDesc::ProcessDeviceList | ( | QDomNode | oListNode, | |
| UPnpDevice * | pDevice | |||
| ) | [protected] |
| void UPnpDeviceDesc::OutputDevice | ( | QTextStream & | os, | |
| UPnpDevice * | pDevice, | |||
| const QString & | sUserAgent = "" | |||
| ) | [protected] |
| void UPnpDeviceDesc::SetStrValue | ( | const QDomNode & | n, | |
| QString & | sValue | |||
| ) | [protected] |
Definition at line 234 of file upnpdevice.cpp.
Referenced by _InternalLoad(), ProcessIconList(), and ProcessServiceList().
| void UPnpDeviceDesc::SetNumValue | ( | const QDomNode & | n, | |
| int & | nValue | |||
| ) | [protected] |
| QString UPnpDeviceDesc::FormatValue | ( | const QString & | sName, | |
| const QString & | sValue | |||
| ) | [protected] |
| QString UPnpDeviceDesc::FormatValue | ( | const QString & | sName, | |
| int | nValue | |||
| ) | [protected] |
Definition at line 470 of file upnpdevice.cpp.
| QString UPnpDeviceDesc::GetHostName | ( | void | ) | [protected] |
| bool UPnpDeviceDesc::Load | ( | const QString & | sFileName | ) |
Definition at line 52 of file upnpdevice.cpp.
Referenced by MediaServer::MediaServer(), and Retrieve().
| bool UPnpDeviceDesc::Load | ( | const QDomDocument & | xmlDevDesc | ) |
Definition at line 96 of file upnpdevice.cpp.
| void UPnpDeviceDesc::GetValidXML | ( | const QString & | sBaseAddress, | |
| int | nPort, | |||
| QTextStream & | os, | |||
| const QString & | sUserAgent = "" | |||
| ) |
Definition at line 278 of file upnpdevice.cpp.
Referenced by SSDPExtension::GetDeviceDesc(), and GetValidXML().
| QString UPnpDeviceDesc::GetValidXML | ( | const QString & | sBaseAddress, | |
| int | nPort | |||
| ) |
Definition at line 264 of file upnpdevice.cpp.
| QString UPnpDeviceDesc::FindDeviceUDN | ( | UPnpDevice * | pDevice, | |
| QString | sST | |||
| ) |
| UPnpDevice * UPnpDeviceDesc::FindDevice | ( | const QString & | sURI | ) |
Definition at line 520 of file upnpdevice.cpp.
Referenced by FindDevice(), and MediaServer::MediaServer().
| UPnpDevice * UPnpDeviceDesc::FindDevice | ( | UPnpDevice * | pDevice, | |
| const QString & | sURI | |||
| ) | [static] |
Definition at line 529 of file upnpdevice.cpp.
| UPnpDeviceDesc * UPnpDeviceDesc::Retrieve | ( | QString & | sURL, | |
| bool | bInQtThread = TRUE | |||
| ) | [static] |
Definition at line 556 of file upnpdevice.cpp.
Referenced by DeviceLocation::GetDeviceDesc(), and UPnp::GetDeviceDesc().
Definition at line 129 of file upnpdevice.h.
Referenced by UPnpSearchTask::Execute(), UPnpNotifyTask::Execute(), FindDevice(), DeviceLocation::GetFriendlyName(), DeviceLocation::GetNameAndDetails(), GetValidXML(), MythContextPrivate::InitUPnP(), Load(), MediaRenderer::MediaRenderer(), OutputDevice(), and UPnp::RootDevice().
| QString UPnpDeviceDesc::m_sHostName |
Definition at line 130 of file upnpdevice.h.
Referenced by DeviceLocation::GetFriendlyName(), GetHostName(), DeviceLocation::GetNameAndDetails(), and Retrieve().
1.5.5