From 72a68df345cf4699f36a5d0ba46cdf2f4105baed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Wed, 16 Dec 2020 13:06:50 +0100 Subject: [PATCH] Add docs and missing license header --- libnymea/hardware/zigbee/zigbeehandler.cpp | 30 ++++++++++++++++++++++ libnymea/hardware/zigbee/zigbeehandler.h | 30 ++++++++++++++++++++++ libnymea/hardwaremanager.cpp | 4 +++ 3 files changed, 64 insertions(+) diff --git a/libnymea/hardware/zigbee/zigbeehandler.cpp b/libnymea/hardware/zigbee/zigbeehandler.cpp index a11a697d..9d5a209a 100644 --- a/libnymea/hardware/zigbee/zigbeehandler.cpp +++ b/libnymea/hardware/zigbee/zigbeehandler.cpp @@ -1,3 +1,33 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * +* +* Copyright 2013 - 2020, nymea GmbH +* Contact: contact@nymea.io +* +* This file is part of nymea. +* This project including source code and documentation is protected by +* copyright law, and remains the property of nymea GmbH. All rights, including +* reproduction, publication, editing and translation, are reserved. The use of +* this project is subject to the terms of a license agreement to be concluded +* with nymea GmbH in accordance with the terms of use of nymea GmbH, available +* under https://nymea.io/license +* +* GNU Lesser General Public License Usage +* Alternatively, this project may be redistributed and/or modified under the +* terms of the GNU Lesser General Public License as published by the Free +* Software Foundation; version 3. This project 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 +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public License +* along with this project. If not, see . +* +* For any further details and any questions please contact us under +* contact@nymea.io or see our FAQ/Licensing Information on +* https://nymea.io/license/faq +* +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #include "zigbeehandler.h" ZigbeeHandler::ZigbeeHandler() diff --git a/libnymea/hardware/zigbee/zigbeehandler.h b/libnymea/hardware/zigbee/zigbeehandler.h index dba0d794..52f7b10f 100644 --- a/libnymea/hardware/zigbee/zigbeehandler.h +++ b/libnymea/hardware/zigbee/zigbeehandler.h @@ -1,3 +1,33 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * +* +* Copyright 2013 - 2020, nymea GmbH +* Contact: contact@nymea.io +* +* This file is part of nymea. +* This project including source code and documentation is protected by +* copyright law, and remains the property of nymea GmbH. All rights, including +* reproduction, publication, editing and translation, are reserved. The use of +* this project is subject to the terms of a license agreement to be concluded +* with nymea GmbH in accordance with the terms of use of nymea GmbH, available +* under https://nymea.io/license +* +* GNU Lesser General Public License Usage +* Alternatively, this project may be redistributed and/or modified under the +* terms of the GNU Lesser General Public License as published by the Free +* Software Foundation; version 3. This project 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 +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public License +* along with this project. If not, see . +* +* For any further details and any questions please contact us under +* contact@nymea.io or see our FAQ/Licensing Information on +* https://nymea.io/license/faq +* +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #ifndef ZIGBEEHANDLER_H #define ZIGBEEHANDLER_H diff --git a/libnymea/hardwaremanager.cpp b/libnymea/hardwaremanager.cpp index 12aa022b..5141e605 100644 --- a/libnymea/hardwaremanager.cpp +++ b/libnymea/hardwaremanager.cpp @@ -69,6 +69,10 @@ Returns the MqttProvider \l{HardwareResource}. */ +/*! \fn ZigbeeHardwareResource *HardwareManager::zigbeeResource(); + Returns the Zigbee \l{HardwareResource}. +*/ + #include "hardwaremanager.h" #include "hardwareresource.h"