rename file and add copyright header

This commit is contained in:
Michael Zanetti 2020-02-10 14:22:43 +01:00
parent 982ed02c5a
commit db43d2ca6c
5 changed files with 80 additions and 20 deletions

View File

@ -1,16 +0,0 @@
#ifndef PLUGININFOCACHE_H
#define PLUGININFOCACHE_H
#include "types/deviceclass.h"
#include "devices/deviceplugin.h"
class PluginInfoCache
{
public:
PluginInfoCache();
static void cachePluginInfo(const QJsonObject &metaData);
static QJsonObject loadPluginInfo(const PluginId &pluginId);
};
#endif // PLUGININFOCACHE_H

View File

@ -38,7 +38,7 @@
#include "typeutils.h"
#include "nymeasettings.h"
#include "version.h"
#include "deviceclasscache.h"
#include "plugininfocache.h"
#include "devices/devicediscoveryinfo.h"
#include "devices/devicepairinginfo.h"

View File

@ -1,4 +1,34 @@
#include "deviceclasscache.h"
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* 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 General Public License Usage
* Alternatively, this project may be redistributed and/or modified under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, GNU 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 General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with
* this project. If not, see <https://www.gnu.org/licenses/>.
*
* 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 "plugininfocache.h"
#include <QSettings>
#include <QStandardPaths>

View File

@ -0,0 +1,46 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* 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 General Public License Usage
* Alternatively, this project may be redistributed and/or modified under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, GNU 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 General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with
* this project. If not, see <https://www.gnu.org/licenses/>.
*
* 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 PLUGININFOCACHE_H
#define PLUGININFOCACHE_H
#include "types/deviceclass.h"
#include "devices/deviceplugin.h"
class PluginInfoCache
{
public:
PluginInfoCache();
static void cachePluginInfo(const QJsonObject &metaData);
static QJsonObject loadPluginInfo(const PluginId &pluginId);
};
#endif // PLUGININFOCACHE_H

View File

@ -16,8 +16,8 @@ RESOURCES += $$top_srcdir/icons.qrc \
HEADERS += nymeacore.h \
devices/deviceclasscache.h \
devices/devicemanagerimplementation.h \
devices/plugininfocache.h \
devices/translator.h \
experiences/experiencemanager.h \
ruleengine/ruleengine.h \
@ -101,8 +101,8 @@ HEADERS += nymeacore.h \
SOURCES += nymeacore.cpp \
devices/deviceclasscache.cpp \
devices/devicemanagerimplementation.cpp \
devices/plugininfocache.cpp \
devices/translator.cpp \
experiences/experiencemanager.cpp \
ruleengine/ruleengine.cpp \