From f01754fa49d1187497036f42bb7f4856ed4057f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Thu, 12 Feb 2015 17:49:52 +0100 Subject: [PATCH] added license and cleaned up debug --- .../hardware/upnpdiscovery/upnpdiscovery.cpp | 4 ++-- .../upnpdiscovery/upnpdiscoveryrequest.cpp | 18 ++++++++++++++++++ .../upnpdiscovery/upnpdiscoveryrequest.h | 18 ++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/libguh/hardware/upnpdiscovery/upnpdiscovery.cpp b/libguh/hardware/upnpdiscovery/upnpdiscovery.cpp index 8f1f0893..e07066ac 100644 --- a/libguh/hardware/upnpdiscovery/upnpdiscovery.cpp +++ b/libguh/hardware/upnpdiscovery/upnpdiscovery.cpp @@ -93,8 +93,8 @@ void UpnpDiscovery::readData() readDatagram(data.data(), data.size(), &hostAddress); } - qDebug() << "======================"; - qDebug() << data; + //qDebug() << "======================"; + //qDebug() << data; if (data.contains("NOTIFY")) { emit upnpNotify(data); diff --git a/libguh/hardware/upnpdiscovery/upnpdiscoveryrequest.cpp b/libguh/hardware/upnpdiscovery/upnpdiscoveryrequest.cpp index a1a16b05..87240df2 100644 --- a/libguh/hardware/upnpdiscovery/upnpdiscoveryrequest.cpp +++ b/libguh/hardware/upnpdiscovery/upnpdiscoveryrequest.cpp @@ -1,3 +1,21 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #include "upnpdiscoveryrequest.h" UpnpDiscoveryRequest::UpnpDiscoveryRequest(UpnpDiscovery *upnpDiscovery, PluginId pluginId, QString searchTarget, QString userAgent): diff --git a/libguh/hardware/upnpdiscovery/upnpdiscoveryrequest.h b/libguh/hardware/upnpdiscovery/upnpdiscoveryrequest.h index ab71ec8a..a55649f2 100644 --- a/libguh/hardware/upnpdiscovery/upnpdiscoveryrequest.h +++ b/libguh/hardware/upnpdiscovery/upnpdiscoveryrequest.h @@ -1,3 +1,21 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #ifndef UPNPDISCOVERYREQUEST_H #define UPNPDISCOVERYREQUEST_H