mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Add SPDX header to remaining core files
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ee1bf18189
commit
b368ecd5aa
71 changed files with 74 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* implements Android specific functions */
|
||||
#include "dive.h"
|
||||
#include "display.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
#include <QNetworkAccessManager>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef CHECKCLOUDCONNECTION_H
|
||||
#define CHECKCLOUDCONNECTION_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "cloudstorage.h"
|
||||
#include "pref.h"
|
||||
#include "dive.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef CLOUD_STORAGE_H
|
||||
#define CLOUD_STORAGE_H
|
||||
|
||||
|
@ -24,4 +25,4 @@ private:
|
|||
};
|
||||
|
||||
QNetworkAccessManager *manager();
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "color.h"
|
||||
|
||||
QMap<color_indice_t, QVector<QColor> > profile_color;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef COLOR_H
|
||||
#define COLOR_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "configuredivecomputer.h"
|
||||
#include <QTextStream>
|
||||
#include <QFile>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef CONFIGUREDIVECOMPUTER_H
|
||||
#define CONFIGUREDIVECOMPUTER_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "configuredivecomputerthreads.h"
|
||||
#include "libdivecomputer/hw_ostc.h"
|
||||
#include "libdivecomputer/hw_ostc3.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef CONFIGUREDIVECOMPUTERTHREADS_H
|
||||
#define CONFIGUREDIVECOMPUTERTHREADS_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "devicedetails.h"
|
||||
|
||||
gas::gas(unsigned char oxygen, unsigned char helium, unsigned char type, unsigned char depth) :
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef DEVICEDETAILS_H
|
||||
#define DEVICEDETAILS_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef DISPLAY_H
|
||||
#define DISPLAY_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* dive.c */
|
||||
/* maintains the internal dive list structure */
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef DIVE_H
|
||||
#define DIVE_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "divecomputer.h"
|
||||
#include "dive.h"
|
||||
#include "subsurface-qt/SettingsObjectWrapper.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef DIVECOMPUTER_H
|
||||
#define DIVECOMPUTER_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include <QString>
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef DIVELOGEXPORTLOGIC_H
|
||||
#define DIVELOGEXPORTLOGIC_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* divesite.c */
|
||||
#include "divesite.h"
|
||||
#include "dive.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "divesite.h"
|
||||
#include "pref.h"
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef DIVESITE_H
|
||||
#define DIVESITE_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
//
|
||||
// infrastructure to deal with dive sites
|
||||
//
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef DIVESITEHELPERS_H
|
||||
#define DIVESITEHELPERS_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifdef __clang__
|
||||
// Clang has a bug on zero-initialization of C structs.
|
||||
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: BSD-2-CLAUSE
|
||||
/**************************************************************************
|
||||
exif.cpp -- A simple ISO C++ library to parse basic EXIF
|
||||
information from a JPEG file.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: BSD-2-CLAUSE
|
||||
/**************************************************************************
|
||||
exif.h -- A simple ISO C++ library to parse basic EXIF
|
||||
information from a JPEG file.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* gas-model.c */
|
||||
/* gas compressibility model */
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* gaspressures.c
|
||||
* ---------------
|
||||
* This file contains the routines to calculate the gas pressures in the cylinders.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef GASPRESSURES_H
|
||||
#define GASPRESSURES_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef MYGETTEXT_H
|
||||
#define MYGETTEXT_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include <QCoreApplication>
|
||||
#include <QString>
|
||||
#include "gettextfromc.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef GETTEXTFROMC_H
|
||||
#define GETTEXTFROMC_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "core/gpslocation.h"
|
||||
#include "qt-models/gpslistmodel.h"
|
||||
#include "core/pref.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef GPSLOCATION_H
|
||||
#define GPSLOCATION_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* helpers.h
|
||||
*
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "dive.h"
|
||||
#include "metrics.h"
|
||||
#include "divelist.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef IMAGEDOWNLOADER_H
|
||||
#define IMAGEDOWNLOADER_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "isocialnetworkintegration.h"
|
||||
|
||||
//Hack for moc.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef ISOCIALNETWORKINTEGRATION_H
|
||||
#define ISOCIALNETWORKINTEGRATION_H
|
||||
|
||||
|
@ -70,4 +71,4 @@ public:
|
|||
virtual void requestUpload() = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifdef __clang__
|
||||
// Clang has a bug on zero-initialization of C structs.
|
||||
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* metrics.cpp
|
||||
*
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* metrics.h
|
||||
*
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "pluginmanager.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef PLUGINMANAGER_H
|
||||
#define PLUGINMANAGER_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* profile.c */
|
||||
/* creates all the necessary data for drawing the dive profile
|
||||
*/
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef PROFILE_H
|
||||
#define PROFILE_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef QT_GUI_H
|
||||
#define QT_GUI_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include <QApplication>
|
||||
#include <QNetworkProxy>
|
||||
#include <QLibraryInfo>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "qthelper.h"
|
||||
#include "helpers.h"
|
||||
#include "gettextfromc.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef QTHELPER_H
|
||||
#define QTHELPER_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef QTHELPERFROMC_H
|
||||
#define QTHELPERFROMC_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include <errno.h>
|
||||
|
||||
#include <QtBluetooth/QBluetoothAddress>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: LGPL-2.1+
|
||||
/*
|
||||
* libdivecomputer
|
||||
*
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "CylinderObjectHelper.h"
|
||||
#include "../helpers.h"
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef CYLINDER_QOBJECT_H
|
||||
#define CYLINDER_QOBJECT_H
|
||||
|
||||
|
@ -28,4 +29,4 @@ private:
|
|||
};
|
||||
|
||||
Q_DECLARE_METATYPE(CylinderObjectHelper *)
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "DiveObjectHelper.h"
|
||||
|
||||
#include <QDateTime>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef DIVE_QOBJECT_H
|
||||
#define DIVE_QOBJECT_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "SettingsObjectWrapper.h"
|
||||
#include <QSettings>
|
||||
#include <QApplication>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef SETTINGSOBJECTWRAPPER_H
|
||||
#define SETTINGSOBJECTWRAPPER_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: LGPL-2.1+
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: LGPL-2.1+
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "taxonomy.h"
|
||||
#include "gettext.h"
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef TAXONOMY_H
|
||||
#define TAXONOMY_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef UNITS_H
|
||||
#define UNITS_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "ssrf-version.h"
|
||||
|
||||
const char *subsurface_git_version(void)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef WEBSERVICE_H
|
||||
#define WEBSERVICE_H
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "windowtitleupdate.h"
|
||||
|
||||
WindowTitleUpdate *WindowTitleUpdate::m_instance = NULL;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef WINDOWTITLEUPDATE_H
|
||||
#define WINDOWTITLEUPDATE_H
|
||||
|
||||
|
|
Loading…
Reference in a new issue