Go to the documentation of this file.
7 if (pDevice !=
nullptr)
24 xml =
"<Feature name=\"" +
m_name +
"\" version=\"" + QString::number(
m_version) +
"\">\r\n";
26 xml +=
"</Feature>\r\n";
51 NameValues::iterator ait;
54 xml += QString(
" %1=\"%2\"").arg((*ait).m_sName, (*ait).m_sValue);
57 QList<UPnPFeature*>::iterator fit;
60 xml +=
" " + (*fit)->toXML();
62 xml +=
"</Features>\r\n";
UPnpServiceList m_listServices
void AddFeature(UPnPFeature *feature)
virtual QString GetServiceControlURL(void)=0
Provices the base URL for control commands.
virtual QString GetServiceEventURL(void)
Provides the URL of the event portion of the service.
void RegisterService(UPnpDevice *device)
Creates a UPnpService and adds it to the UPnpDevice's list of services.
static const std::array< featureStruct, 7 > feature
void AddAttribute(const NameValue &attribute)
QList< UPnPFeature * > m_features
virtual QString GetServiceId(void)=0
Provides the device specific urn.
virtual QString GetServiceDescURL(void)=0
Provices the URL of the service description XML.
virtual QString GetServiceType(void)=0
Provices the schema urn.
virtual QString CreateXML()=0