aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/upnp
diff options
context:
space:
mode:
authorGravatar un1versal2016-05-06 21:44:19 +0100
committerGravatar un1versal2016-05-06 21:45:53 +0100
commit4e1fd3f69385387d438f3e924882b2204934900c (patch)
treef29bdd01ca42f2e2794e73ec20490ef0933387b0 /src/modules/upnp
parentFix text appearing outside the buttonboundary when the text is longer than (#... (diff)
downloadKVIrc-4e1fd3f69385387d438f3e924882b2204934900c.tar.gz
KVIrc-4e1fd3f69385387d438f3e924882b2204934900c.tar.bz2
KVIrc-4e1fd3f69385387d438f3e924882b2204934900c.zip
cleanup: remove more ancient commneted code
Diffstat (limited to 'src/modules/upnp')
-rw-r--r--src/modules/upnp/RootService.cpp95
-rw-r--r--src/modules/upnp/Service.cpp13
2 files changed, 1 insertions, 107 deletions
diff --git a/src/modules/upnp/RootService.cpp b/src/modules/upnp/RootService.cpp
index 901599bc5..e1cab77ee 100644
--- a/src/modules/upnp/RootService.cpp
+++ b/src/modules/upnp/RootService.cpp
@@ -42,101 +42,6 @@
namespace UPnP
{
-
- // Example message result:
- //
- // <root xmlns="urn:schemas-upnp-org:device-1-0" >
- // <specVersion>
- // <major>1</major>
- // <minor>0</minor>
- // </specVersion>
- // <URLBase>http://10.0.0.138</URLBase>
- // <device>
- // <deviceType>urn:schemas-upnp-org:device:InternetGatewayDevice:1</deviceType>
- // <friendlyName>SpeedTouch 510 (0313QZ6S2)</friendlyName>
- // <manufacturer>THOMSON multimedia</manufacturer>
- // <manufacturerURL>http://www.thomson-multimedia.com</manufacturerURL>
- // <modelDescription>DSL Internet Gateway</modelDescription>
- // <modelName>SpeedTouch</modelName>
- // <modelNumber>510</modelNumber>
- // <modelURL>http://www.speedtouch.com</modelURL>
- // <serialNumber>0313QZ6S2</serialNumber>
- // <UDN>uuid:UPnP-SpeedTouch510-1_00-90-D0-8E-A1-6F</UDN>
- // <presentationURL>/index.htm</presentationURL>
- // <serviceList>
- // <service>
- // <serviceType>urn:schemas-upnp-org:service:Layer3Forwarding:1</serviceType>
- // <serviceId>urn:upnp-org:serviceId:layer3f</serviceId>
- // <controlURL>/upnp/control/layer3f</controlURL>
- // <eventSubURL>/upnp/event/layer3f</eventSubURL>
- // <SCPDURL>/Layer3Forwarding.xml</SCPDURL>
- // </service>
- // </serviceList>
- // <deviceList>
- // <device>
- // <deviceType>urn:schemas-upnp-org:device:LANDevice:1</deviceType>
- // <friendlyName>LANDevice</friendlyName>
- // <manufacturer>THOMSON multimedia</manufacturer>
- // <modelName>SpeedTouch</modelName>
- // <serialNumber>0313QZ6S2</serialNumber>
- // <UDN>uuid:UPnP-SpeedTouch510-1_00-90-D0-8E-A1-6F_LD</UDN>
- // <serviceList>
- // <service>
- // <serviceType>urn:schemas-upnp-org:service:LANHostConfigManagement:1</serviceType>
- // <serviceId>urn:upnp-org:serviceId:lanhcm</serviceId>
- // <controlURL>/upnp/control/lanhcm</controlURL>
- // <eventSubURL>/upnp/event/lanhcm</eventSubURL>
- // <SCPDURL>/LANHostConfigManagement.xml</SCPDURL>
- // </service>
- // </serviceList>
- // </device>
- // <device>
- // <deviceType>urn:schemas-upnp-org:device:WANDevice:1</deviceType>
- // <friendlyName>WANDevice</friendlyName>
- // <manufacturer>THOMSON multimedia</manufacturer>
- // <modelName>SpeedTouch</modelName>
- // <serialNumber>0313QZ6S2</serialNumber>
- // <UDN>uuid:UPnP-SpeedTouch510-1_00-90-D0-8E-A1-6F_WD</UDN>
- // <serviceList>
- // <service>
- // <serviceType>urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1</serviceType>
- // <serviceId>urn:upnp-org:serviceId:wancic</serviceId>
- // <controlURL>/upnp/control/wancic</controlURL>
- // <eventSubURL>/upnp/event/wancic</eventSubURL>
- // <SCPDURL>/WANCommonInterfaceConfig.xml</SCPDURL>
- // </service>
- // </serviceList>
- // <deviceList>
- // <device>
- // <deviceType>urn:schemas-upnp-org:device:WANConnectionDevice:1</deviceType>
- // <friendlyName>WANConnectionDevice</friendlyName>
- // <manufacturer>THOMSON multimedia</manufacturer>
- // <modelName>SpeedTouch</modelName>
- // <serialNumber>0313QZ6S2</serialNumber>
- // <UDN>uuid:UPnP-SpeedTouch510-1_00-90-D0-8E-A1-6F_WCDpppoa</UDN>
- // <serviceList>
- // <service>
- // <serviceType>urn:schemas-upnp-org:service:WANDSLLinkConfig:1</serviceType>
- // <serviceId>urn:upnp-org:serviceId:wandsllc:pppoa</serviceId>
- // <controlURL>/upnp/control/wandsllcpppoa</controlURL>
- // <eventSubURL>/upnp/event/wandsllcpppoa</eventSubURL>
- // <SCPDURL>/WANDSLLinkConfig.xml</SCPDURL>
- // </service>
- // <service>
- // <serviceType>urn:schemas-upnp-org:service:WANPPPConnection:1</serviceType>
- // <serviceId>urn:upnp-org:serviceId:wanpppc:pppoa</serviceId>
- // <controlURL>/upnp/control/wanpppcpppoa</controlURL>
- // <eventSubURL>/upnp/event/wanpppcpppoa</eventSubURL>
- // <SCPDURL>/WANPPPConnection.xml</SCPDURL>
- // </service>
- // </serviceList>
- // </device>
- // </deviceList>
- // </device>
- // </deviceList>
- // </device>
- // </root>
-
// The contructor
RootService::RootService(const QString & hostname, int port, const QString & rootUrl)
: Service(hostname, port, rootUrl), m_szHostname(hostname), m_iPort(port)
diff --git a/src/modules/upnp/Service.cpp b/src/modules/upnp/Service.cpp
index 872393874..f7e7f4baa 100644
--- a/src/modules/upnp/Service.cpp
+++ b/src/modules/upnp/Service.cpp
@@ -39,7 +39,7 @@
#include "KviNetworkAccessManager.h"
-// This implementation was created with the help of the following documentation:
+// This implementation was created with the help of the following documentation:
// http://www.upnp.org/standardizeddcps/documents/UPnP_IGD_1.0.zip
// http://zacbowling.com/upnp/
// http://www.knoxscape.com/Upnp/NAT.htm
@@ -242,17 +242,6 @@ namespace UPnP
if(!error)
{
- //extract the xml prefix used by the device; should be "s"
-
- //this is the reply of my Zyxel:
- // <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >
- // <SOAP-ENV:Body>
- // <u:GetDefaultConnectionServiceResponse xmlns:u="urn:schemas-upnp-org:service:Layer3Forwarding:1" >
- // <NewDefaultConnectionService>WANIPConnection</NewDefaultConnectionService>
- // </u:GetDefaultConnectionServiceResponse>
- // </SOAP-ENV:Body>
- // </SOAP-ENV:Envelope>
-
QString baseNamespace = xml.documentElement().tagName();
if(baseNamespace.length() > 0)